Post #2019175
2026-05-04 22:06 UTC
@jimniels For simple inlineable content like a menu, I think you can do even better in pure CSS and hiding/showing it using attribute selectors. Smoother UX since you don't need to trigger navigation and can forego JS alltogether without degradation.
https://stackoverflow.com/a/33528185
Using a variation of this on Konform Browser front page to dynamically toggle display of installation instructions for the target selected by user with CSS only: https://konform-browser.codeberg.page/
#nojs #css
Replies (0)
No replies.