-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.php
70 lines (59 loc) · 1.36 KB
/
navbar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!-- navbar -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<style>
.navbar {
display: flex;
background-color: #333;
justify-content: center;
border-radius: 18px;
margin: 17px;
}
.navbar a {
color: white;
padding: 11px 20px;
text-decoration: none;
text-align: center;
}
.navbar a:hover {
background-color: #ddd;
border-radius: 13px;
color: black;
margin: 1px;
}
}
.row {
display: flex;
flex-flow: row wrap;
}
.side {
flex: 30%;
background-color: #f1f1f1;
padding: 20px;
}
.main {
flex: 70%;
background-color: white;
padding: 20px;
}
/* Fake image, just for this example */
.fakeimg {
background-color: #aaa;
width: 100%;
padding: 20px;
}
</style>
<body>
<div class="navbar">
<a href="index.php">HOME</a>
<a href="index.php#services">Services</a>
<a href="index.php#about">About</a>
</div>
</body>
</html>