-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathButton.css
57 lines (48 loc) · 1.02 KB
/
Button.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
:root {
--primary-color: #e0c521;
}
.btn {
padding: 0.6rem 0.8rem;
font-size: 1.2rem;
text-align: center;
border: 0;
outline: none;
border-radius: 10px;
width: 120px;
margin-left: 10px;
box-shadow: 1px -3px 52px -5px rgba(0, 0, 0, 0.77);
cursor: pointer;
}
.btn.add {
background-color: var(--primary-color);
}
.btn.remove {
background-color: tomato;
}
.btn.checkout {
background-color: rgb(38, 121, 38);
width: 150px;
color: #fff;
font-size: 14px;
}
.btn:active {
transform: scale(0.98);
}
.btn.add:hover {
background-color: #cab320;
}
.btn.add:active {
background-color: #ad9a1c;
}
.btn.remove:hover {
background-color: rgb(209, 83, 61);
}
.btn.remove:active {
background-color: rgb(185, 73, 54);
}
.btn.checkout:hover {
background-color: rgb(41, 141, 41);
}
.btn.checkout:active {
background-color: rgb(30, 93, 41);
}