News for hackers. Stuff that matters.
Re:Future CSS: State Container Queries by benfrain on Thursday June 29, 2023 @03:08AM (#36517341)
You can achieve that with grid right now. Set a row to height zero, with a container inside with overflow: hidden, then toggle that row to height 1fr. Stick whatever transition you want on it — job done
Re:Future CSS: State Container Queries by cubefox on Thursday June 29, 2023 @03:18AM (#36517409)
Thanks. A lot of things are possible with tricks that should have long been supported natively.