-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (73 loc) · 1.35 KB
/
index.html
File metadata and controls
74 lines (73 loc) · 1.35 KB
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
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<style type="text/css">
body {
font-family: "Lato", sans-serif;
}
.box {
position: relative;
background: #000;
border: 0;
padding: 14px 42px;
border-radius: 3px;
cursor: pointer;
overflow: hidden;
outline: none;
font-weight: 400;
font-size: 12px;
color: #fff;
letter-spacing: 0.2em;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
transition: all 0.2s ease;
height: 500px;
}
.box:after {
content: "";
position: absolute;
top: 0;
left: -200%;
width: 200%;
height: 100%;
transform: skewX(-20deg);
background-image: linear-gradient(
to right,
transparent,
rgba(255, 255, 255, 0.3),
transparent
);
animation: shine 1.6s infinite;
}
.cntr {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@-moz-keyframes shine {
100% {
left: 200%;
}
}
@-webkit-keyframes shine {
100% {
left: 200%;
}
}
@-o-keyframes shine {
100% {
left: 200%;
}
}
@keyframes shine {
100% {
left: 200%;
}
}
</style>
<body>
<div class="box"></div>
</body>
</html>