Revealing sections

This commit is contained in:
Jake Archibald
2018-10-17 12:04:04 +01:00
parent 6ec0349f8f
commit 2138154ec5
8 changed files with 179 additions and 55 deletions

View File

@@ -0,0 +1,21 @@
.checkbox {
display: inline-block;
position: relative;
--size: 17px;
}
.real-checkbox {
position: absolute;
opacity: 0;
pointer-events: none;
}
.icon {
display: block;
width: var(--size);
height: var(--size);
}
.checked {
fill: #34B9EB;
}