forked from anshulontech/JavaScript51
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (75 loc) · 1.29 KB
/
style.css
File metadata and controls
85 lines (75 loc) · 1.29 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
75
76
77
78
79
80
81
82
83
84
85
* {
box-sizing: border-box;
}
body {
background-color: #2c3e50;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
margin: 0;
}
.after {
content: '';
position: absolute;
top: 50vh-50px;
left: 50vw-50px;
width: 0;
height: 0;
border: 50px solid transparent;
border-bottom-color: white;
transition: all 0.5s linear;
transform: rotate(0deg);
}
.before {
content: '';
position: absolute;
top: 50vh-50px;
left: 50vw-50px;
width: 0;
height: 0;
border: 50px solid transparent;
border-bottom-color: white;
transition: all 0.5s linear;
transform: rotate(90deg);
}
.count {
position: absolute;
top: 70vh;
left: 48.9vw;
font-size: 30px;
color: white;
}
.intro {
position: absolute;
top: 36vh;
left: 33vw;
color: white;
text-transform: uppercase;
}
#btn {
position: absolute;
top: 51vh;
left: 46vw;
font-size: 25px;
padding: 0.7rem;
border: none;
border-radius: 5px;
color: white;
background-color: peru;
cursor: pointer;
}
#btn:focus {
outline: none;
}
#btn:active {
transform: scale(0.98);
}
.none {
display: none;
}
.end {
color: white;
text-transform: uppercase;
}