CSS sidebar tricks 🤌
@jh3yy149K followers
117,836 views
10 Comments
Comments from the original post on X (Twitter)

@ivanovpavel
yeah :) I use something close to this in react-scan! The old min/max-height hacks are no more!
3 likes

@jh3yy
yeah - solid solution until we get decent support for interpolate-size 🙏
5 likes

@MGSimard
Oh man inert is a thing? yoink
3 likes

@jh3yy
yep!🤙 so good for things where you need to hide from AT etc. but don't really want to use display none
1 like

@arthuryuzbashew
Bro is working on Vercel itself...
1 like

@jh3yy
🫡

@dioScar90
Didn't know about this inert attribute. Cool.
1 like

@jh3yy
super useful 💯 being able to hide things without juggling display none makes transitions so much easier 🙌
1 like

@RooAndSasha
how does inert effect accessibility when using keyboard with these buttons
1 like

@pizadevourerman
Probably one of the best tricks grid has to offer!