@praxeology Interesting. I'll have to read up on the d̶e̶̶t̶̶a̶̶i̶̶l̶̶s̶ exact behavior of this, but it would probably work quite well for creating a responsive, JavaScript-less navigation menu.

Currently I'm using an invisible checkbox to remember the state and then CSS rules to hide the elements, which seems like the uglier hack...

@friend Right?! I had the same idea/frustrations using similar CSS menu-hacks. With this, just put the details in a higher z-index and there's a menu!

The only slight issue is the lack of (pre-edge) IE support but this seems to be able to degrade "gracefully".

@praxeology and Mastodon rejected its use for the [Show more] button because of reasons https://github.com/mastodon/mastodon/issues/1863

maybe this should be revisited.

@praxeology oh yes, finally a good way to get rid of ugly css hacks!

Sign in to participate in the conversation

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.