-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
118 lines (113 loc) · 2.11 KB
/
style1.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body
{
margin:0;
padding:0;
background-image: url('img.jpg');
background-repeat: no-repeat;
background-size: 100vw 100vh ;
}
h1
{
position:absolute;
top:10%;
left:35%;
transform:translate(-50%,0%);
padding: 0 20px;
font-family:cursive;
font-size:2.6em;
text-shadow:0 10px 20px rgba(0,0,0,.3);
text-transform:uppercase;
border:8px solid #000;
border-top:none;
color:rgb(255, 255, 255);
}
h1 span
{
position: relative;
display: inline-block;
}
h1 span:nth-child(3)
{
color:rgb(92, 160, 249);
animation: animate 3s alternate infinite;
}
@keyframes animate
{
0%
{
transform: translateY(0px) rotate(0deg);
}
40%
{
transform: translateY(0px) rotate(0deg);
}
50%
{
transform: translateY(-40px) rotate(180deg);
}
60%
{
transform: translateY(0px) rotate(360deg);
}
100%
{
transform: translateY(0px) rotate(360deg);
}
}
h1 span
{
animation: animate 5s alternate infinite;
}
h1 span:nth-child(1)
{
animation-delay: 0s;
}
h1 span:nth-child(2)
{
animation-delay: 0.2s;
}
h1 span:nth-child(3)
{
animation-delay: 0.6s;
}h1 span:nth-child(4)
{
animation-delay: 0.7s;
}h1 span:nth-child(5)
{
animation-delay: 0.6s;
}h1 span:nth-child(5)
{
animation-delay: 0.8s;
}h1 span:nth-child(6)
{
animation-delay: 0.9s;
}h1 span:nth-child(7)
{
animation-delay: 1s;
}h1 span:nth-child(8)
{
animation-delay: 1.2s;
}h1 span:nth-child(9)
{
animation-delay: 1.4s;
}h1 span:nth-child(10)
{
animation-delay: 1.6s;
}
/* Thick red border */
/* #style{
display: flex ;
position: relative;
}
#style h3 {
display:inline ;
position :relative ;
bottom:200px;
} */
h3{
color:rgb(212, 244, 6);
position:absolute;
font-size: 25pt;
top:23%;
left:21%;
}