-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.css
69 lines (52 loc) · 859 Bytes
/
project.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
}
nav {
width: 100%;
line-height: 40px;
background: yellow;
position: sticky;
top: 0%;
border-bottom: 1px solid black;
}
nav ul {
list-style-type: none;
text-align: center;
display: flex;
justify-content: space-between;
padding: 50px;
padding-top: 0;
padding-bottom: 0;
}
nav ul li a:hover {
color: yellowgreen;
}
nav ul li {
display: inline-flex;
padding: 5px;
}
nav ul li a {
text-decoration: none;
}
ul .home {
background: pink;
width: 150px;
transition: 1s all ease;
}
ul .home:hover {
background: yellow;
transition: 1s all ease;
}
@media screen and (max-width: 767px) {
nav ul {
padding: 20px;
}
nav ul li {
display: none;
}
}