logoalt Hacker News

webstrandtoday at 1:56 AM1 replyview on HN

Details works even when it's set display:contents too, for even more flexibility. Can't animate from open›close, yet, though. That's pretty much my last frustration with it.


Replies

shaknatoday at 2:10 AM

I think the CSS support for that has finally landed, though it means targetting a pseudo element instead. Its been a year, so support is probably good enough you don't care if just the animation doesn't happen.

https://developer.chrome.com/blog/styling-details

show 1 reply