
Reblogged by slightlyoff@toot.cafe ("Alex Russell"):
css@front-end.social ("CSS by T. Afif :verified:") wrote:
Do you want to see some CSS magic? 🪄
Check my latest article at Frontend Masters. A CSS-only solution to get the width/height of any element 🤯
https://frontendmasters.com/blog/how-to-get-the-width-height-of-any-element-in-only-css/
A good overview of what is possible using modern CSS features!