-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
43 lines (40 loc) · 983 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
.custom-radios div {
display: inline-block;
}
.custom-radios input[type="radio"] {
display: none;
}
.custom-radios input[type="radio"] + label {
color: #333;
font-family: Arial, sans-serif;
font-size: 14px;
}
.custom-radios input[type="radio"] + label span {
display: inline-block;
width: 40px;
height: 40px;
margin: -1px 4px 0 0;
vertical-align: center;
horizontal-align:middle;
cursor: pointer;
border-radius: 50%;
border: 2px solid #FFFFFF;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
background-repeat: no-repeat;
background-position: center;
text-align: center;
}
.custom-radios input[type="radio"] + label span img {
margin-top:9px;
opacity: 0;
transition: all .3s ease;
}
.custom-radios input[type="radio"].color-1 + label span {
background-color: #2ecc71;
}
.custom-radios input[type="radio"].color-4 + label span {
background-color: #e74c3c;
}
.custom-radios input[type="radio"]:checked + label span img {
opacity: 1;
}