-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (75 loc) · 1.35 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: black;
}
h1{
color: white;
text-align: center;
margin: 20px;
text-decoration: bisque underline ;
}
.netflix{
width: 150px;
height: 250px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.netflix span{
width: 50px;
height: 0;
background-color: #db0001;
position: absolute;
}
.left{
left: 0;
bottom: 0;
animation: anim 0.5s linear forwards;
animation-delay: 0.5s;
}
.center{
top: 0;
left: 0;
transform: skewX(22deg);
transform-origin: top left;
box-shadow: 0 0 50px black;
z-index: 2;
animation: anim 0.5s linear forwards;
animation-delay: 1s;
}
.right{
right: 0;
bottom: 0;
animation: anim 0.5s linear forwards;
animation-delay: 1.5s;
}
.netflix::after{
content: 'm';
width: 120%;
height: 20px;
border-radius: 50%;
background-color: black;
position: absolute;
left: -10%;
bottom: -10px;
z-index: 5;
}
@keyframes anim{
100%{
height: 100%;
}
}
@media only screen and (max-width: 768px) {
.netflix {
width: 120px;
height: 200px;
}
.netflix span {
width: 40px;
}
}