homepage/sass/parts/_image-toggler.scss
Fabian Montero 14822297bd Squashed 'themes/tabi-lean/' content from commit 95c8796
git-subtree-dir: themes/tabi-lean
git-subtree-split: 95c879696445ede40daa7a30a88dae5dd74d5c0c
2025-09-13 14:21:22 -06:00

24 lines
402 B
SCSS

.image-label {
cursor: pointer;
}
.image-toggled {
position: absolute;
top: 0;
left: 0;
visibility: hidden;
}
.image-toggler-toggle {
display: none;
}
.image-toggler-toggle:checked ~ .image-label .image-toggled {
position: static;
visibility: visible;
}
.image-toggler-toggle:checked ~ .image-label .image-default {
position: absolute;
visibility: hidden;
}