@syntax
On second thought you may not need to break if your webpage container is after the ?

So in it might be (very roughly):
.themeSwitcher[:checked] + {
// test for what
// @aymm
// mentioned and have styles
// accordingly?
}

Do a small test first, perhaps?

#semanticHTML #checkboxHack #sass #webpageContainer

Last updated 6 years ago

@syntax
Great discussion here.

Break all semantics and put your entire webpage inside a . Combine with what @aymm said to invert the default and the button operation. :)

Partly joking just because we'd like to see this attempted (there's possibly a way to do it).

#html #checkboxHack #semanticHTML

Last updated 6 years ago