123.checkbox-wrapper-25 input[type="checkbox"] {4 background-image: -webkit-linear-gradient(hsla(0,0%,0%,.1), hsla(0,0%,100%,.1)), -webkit-linear-gradient(left, #f66 50%, #6cf 50%);5 background-size: 100% 100%, 200% 100%;6 background-position: 0 0, 15px 0;7 border-radius: 25px;8 box-shadow: inset 0 1px 4px hsla(0,0%,0%,.5), inset 0 0 10px hsla(0,0%,0%,.5), 0 0 0 1px hsla(0,0%,0%,.1), 0 -1px 2px 2px hsla(0,0%,0%,.25), 0 2px 2px 2px hsla(0,0%,100%,.75);9 cursor: pointer;10 height: 25px;11 padding-right: 25px;12 width: 75px;13 -webkit-appearance: none;14 -webkit-transition: .25s;15}16.checkbox-wrapper-25 input[type="checkbox"]:after {17 background-color: #eee;18 background-image: -webkit-linear-gradient(hsla(0,0%,100%,.1), hsla(0,0%,0%,.1));19 border-radius: 25px;20 box-shadow: inset 0 1px 1px 1px hsla(0,0%,100%,1), inset 0 -1px 1px 1px hsla(0,0%,0%,.25), 0 1px 3px 1px hsla(0,0%,0%,.5), 0 0 2px hsla(0,0%,0%,.25);21 content: '';22 display: block;23 height: 25px;24 width: 50px;25}26.checkbox-wrapper-25 input[type="checkbox"]:checked {27 background-position: 0 0, 35px 0;28 padding-left: 25px;29 padding-right: 0;30}
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
.checkbox-wrapper-25 input[type="checkbox"] {
background-image: -webkit-linear-gradient(hsla(0,0%,0%,.1), hsla(0,0%,100%,.1)), -webkit-linear-gradient(left, #f66 50%, #6cf 50%);
background-size: 100% 100%, 200% 100%;
background-position: 0 0, 15px 0;
border-radius: 25px;
box-shadow: inset 0 1px 4px hsla(0,0%,0%,.5), inset 0 0 10px hsla(0,0%,0%,.5), 0 0 0 1px hsla(0,0%,0%,.1), 0 -1px 2px 2px hsla(0,0%,0%,.25), 0 2px 2px 2px hsla(0,0%,100%,.75);
cursor: pointer;
height: 25px;
padding-right: 25px;
width: 75px;
-webkit-appearance: none;
-webkit-transition: .25s;
}
.checkbox-wrapper-25 input[type="checkbox"]:after {
background-color: #eee;
background-image: -webkit-linear-gradient(hsla(0,0%,100%,.1), hsla(0,0%,0%,.1));
border-radius: 25px;
box-shadow: inset 0 1px 1px 1px hsla(0,0%,100%,1), inset 0 -1px 1px 1px hsla(0,0%,0%,.25), 0 1px 3px 1px hsla(0,0%,0%,.5), 0 0 2px hsla(0,0%,0%,.25);
content: '';
display: block;
height: 25px;
width: 50px;
}
.checkbox-wrapper-25 input[type="checkbox"]:checked {
background-position: 0 0, 35px 0;
padding-left: 25px;
padding-right: 0;
}
You need to sign in before you can write a comment.