-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmovie2.css
51 lines (46 loc) · 812 Bytes
/
movie2.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
*{
margin: 0;padding: 0;box-sizing: border-box;
text-decoration: none;
list-style: none;
}
body{
height: 100vh;
font-family: Arial, Helvetica, sans-serif;
background: var(--bg--color);
}
:root{
--main--color: red ;
--bg--color: black ;
}
header{
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 60px;
color: aliceblue;
background: black;
}
header ul {
display: flex;
}
header ul li{
padding: 0 50px;
position: relative;
}
header a{
color: aliceblue;
font-size: 20px;
}
.menu a::after{
content: '';
background: red;
position: absolute;
width: 0;
height: 2px;
bottom: -4px;
left: 32%;
transition: 0.5s all linear;
}
.menu a:hover::after , .menu .home-active::after {
width: 40%;
}