-
Notifications
You must be signed in to change notification settings - Fork 0
/
style3.css
73 lines (65 loc) · 1.38 KB
/
style3.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
*,
*:before,
*:after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: #66ff52;
}
.container {
background-color: #fff;
width: 40%;
min-width: 500px;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
padding: 20px 0;
padding-bottom: 50px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.338);
}
.timer-display {
position: relative;
width: 92%;
background: #fff;
left: 4%;
font-family: 'Roboto mono', monospace;
color: #8c52ff;
font-size: 30px;
padding: 40px;
display: flex;
align-items: center;
justify-content: space-around;
border-radius: 5px;
box-shadow: 0 0 20px rgba(65, 5, 145, 0.25);
}
.buttons {
width: 90%;
margin: 60px auto 0 auto;
display: flex;
justify-content: space-around;
}
.buttons button {
width: 120px;
height: 45px;
background-color: #8c52ff;
color: #fff;
border: none;
font-family: 'Poppins', sans-serif;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
outline: none;
}
.buttons button:nth-last-child(2) {
background-color: #e35209;
}
.buttons button:nth-last-child(1) {
background-color: #f7df1e;
}
.buttons button:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}