4,554
edits
No edit summary |
No edit summary |
||
Line 1,077: | Line 1,077: | ||
width: calc(40% - 2px); | width: calc(40% - 2px); | ||
} | } | ||
} | |||
input[type='checkbox'] { | |||
display: none; | |||
} | |||
input[type='checkbox']+div::before { | |||
content: ""; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
border-radius: 2px; | |||
border: 1px solid #7A7A9D; | |||
box-sizing: border-box; | |||
} | |||
input[type='checkbox']:checked+div::before { | |||
width: 100px; | |||
height: 100px; | |||
margin: 5px; | |||
background: green; | |||
} | } |