-
Notifications
You must be signed in to change notification settings - Fork 0
/
ex019.html
119 lines (112 loc) · 2.08 KB
/
ex019.html
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
119
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
body {
width: 100%;
height: 100%;
position: fixed;
background-color: #34495e;
}
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 35px;
line-height: 40px;
font-family: 'Muli';
color: #ecf0f1;
height: 160px;
overflow: hidden;
}
.visible {
font-weight: 600;
overflow: hidden;
height: 40px;
padding: 0 40px;
}
.visible:before {
content: '[';
left: 0;
line-height: 40px;
}
.visible:after {
content: ']';
position: absolute;
right: 0;
line-height: 40px;
}
.visible:after, .visible:before {
position: absolute;
top: 0;
color: #16a085;
font-size: 42px;
animation: 2s linear 0s normal none infinite opacity;
}
p {
display: inline;
float: left;
margin: 0;
}
ul {
margin-top: 0;
padding-left: 110px;
text-align: left;
list-style: none;
animation: 6s linear 0s normal none infinite change;
}
ul li {
line-height: 40px;
margin: 0;
}
@keyframes opacity {
0%, 100% {
opacity: 0;
}
50% {
opacity: 1;
}
}
@keyframes change {
0%, 12%, 100% {
transform: translateY(0);
}
17%,29% {
transform: translateY(-25%);
}
34%,46% {
transform: translateY(-50%);
}
51%,63% {
transform: translateY(-75%);
}
68%,80% {
transform: translateY(-50%);
}
85%,97% {
transform: translateY(-25%);
}
}
</style>
<body>
<link href='http://fonts.googleapis.com/css?family=Muli' rel='stylesheet' type='text/css'>
<div class='content'>
<div class='visible'>
<p>Gui</p>
<ul>
<li>Irmão!</li>
<li> Amigo!</li>
<li> gay!</li>
<li> ?</li>
</ul>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>