fixed
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
.switch {
|
||||
display: flex;
|
||||
width: 53px;
|
||||
|
||||
height: 33px;
|
||||
align-items: center;
|
||||
background-color: white;
|
||||
@@ -16,8 +15,6 @@
|
||||
.check {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The knob (replaces ::before) */
|
||||
.knob {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
@@ -29,7 +26,7 @@
|
||||
|
||||
transition: all 0.15s ease-in-out;
|
||||
}
|
||||
.knob:hover {
|
||||
.switch:hover > .knob {
|
||||
box-shadow: 0 0 0px 5px #33333327;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user