homepage/sass/parts/_image-toggler.scss
Fabian Montero 8be91ee3d9 Squashed 'themes/tabi-lean/' content from commit efb4246
git-subtree-dir: themes/tabi-lean
git-subtree-split: efb42461fde7ee5b0c140d27f2789fdf9c98b100
2025-09-14 16:00:14 -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;
}