-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
69 lines (60 loc) · 1.07 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300&display=swap');
body
{
margin: 0;
font-family: 'Mulish', sans-serif;
background-color: #e8e8e8;
}
.main
{
max-width: 400px;
width: calc(100% - 5px);
height: 400px;
left: 50%;
transform: translateX(-50%);
text-align: center;
top: 50px;
position: absolute;
background-color: white;
border: 2px solid black;
}
.elements
{
display: block;
padding: 30px;
}
button
{
width: 200px;
position: absolute;
left: 50%;
transform: translateX(-50%);
padding: 1px;
background: none;
border: 2px solid black;
font-size: 17px;
cursor: pointer;
box-shadow: 0 9px rgb(68, 68, 68);
border-radius: 10px;
transition: 0.2s;
outline: none;
}
button:hover
{
background-color: black;
color: white;
}
button:active {
box-shadow: 0 5px rgb(68, 68, 68);
transform: translate(-50%, 4px);
}
#cli-cla
{
font-size: 50px;
transition: 0.4s;
}
#count
{
cursor: pointer;
}
#count:hover { text-decoration: underline; }