-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypage.css
80 lines (69 loc) · 1.53 KB
/
mypage.css
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
71
72
73
74
75
76
77
78
79
80
* {
box-sizing: border-box;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
/* Create three equal columns that floats next to each other */
.column {
float: left;
width: 33.33%;
padding: 15px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
h2,p{
text-align:center;
}
.footer {
background-color: gray;
padding: 10px;
text-align: center;
}
#nav {
list-style: none;
float: left;
position: fixed;
width: 100%;
height: 50px;
background-color: rgba(0,0,0,.5);
z-index: 99;
text-align: center;
}
#nav li {
float: left;
display: block;
height: 40px;
width: 200px;
text-align: center;
line-height: 40px;
font-family: 'Roboto', sans-serif;
font-weight: 700;
font-size:21px;
box-sizing:border-box;
color:white ;
}