-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
57 lines (52 loc) · 1013 Bytes
/
style.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: #343a40;
color: white;
font: 1em sans-serif;
text-align: center;
padding: 20px;
height: 100vh;
width: 100vw;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
/* Counter styling */
.counter {
min-width: 150px;
display: flex;
justify-content: center;
align-items: center;
gap: 30px;
margin: 20px;
padding: 20px;
border-radius: 10px;
color: #f0f0f0;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
font-size: larger;
}
.counter button {
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
font-size: 1.5em;
font-weight: bold;
color: inherit; /* Inherit from parent color */
border-radius: 5px;
width: 40px;
aspect-ratio: 1;
transition: all 0.3s ease;
}
.counter button:active {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
outline: none;
border: none;
transition: all 0.3s ease;
}