-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (97 loc) · 1.82 KB
/
style.css
File metadata and controls
97 lines (97 loc) · 1.82 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
86
87
88
89
90
91
92
93
94
95
96
97
body {
background: #12c2e9;
/* fallback for old browsers */
background: -webkit-linear-gradient(to right, #c471ed, #12c2e9);
/* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #c471ed, #12c2e9);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
font-family: "Agency FB", sans-serif;
}
.container {
width: 400px;
height: 400px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.container-item__header {
text-align: center;
}
.container-time {
display: flex;
align-items: center;
justify-content: center;
font-size: 46px;
font-weight: 700;
}
.container-time .divider {
margin: 0 5px;
}
.container-time__hours,
.container-time__minutes,
.container-time__seconds {
background: #ffffff;
color: #000000;
border-radius: 3px;
padding: 5px;
}
.container-controls {
display: flex;
align-items: center;
justify-content: space-evenly;
width: 100%;
}
.container-controls .next,
.container-controls .prev {
font-size: 46px;
cursor: pointer;
font-weight: bold;
user-select: none;
}
.container-controls .next:hover,
.container-controls .prev:hover {
color: black;
transition: 500ms;
}
button {
background: transparent !important;
user-select: none;
}
.btn {
border: 2px solid #ffffff;
padding: 10px 20px;
color: black;
cursor: pointer;
position: relative;
overflow: hidden;
font-size: 24px;
font-family: sans-serif;
transition: all 0.5s;
}
.btn:before {
width: 100%;
height: 100%;
content: '';
margin: auto;
position: absolute;
top: -100%;
left: -100%;
background: #212121;
transition: all 0.5s;
z-index: -1;
}
.btn:hover {
color: white;
}
.btn:hover:before {
top: 0;
left: 0;
}