Ahmad Shadeed on X: "Building a combined CSS-aspect-ratio-grid by @supremebeing09 Using flexbox and aspect-ratio to create equal height elements. I haven't seen that before, nice one! .item { flex-basis: 0; flex-grow: calc(var(--ratio));
![Dynamic Element Scaling in CSS. How One calc() Function Changed… | by Austin Smith | Level Up Coding Dynamic Element Scaling in CSS. How One calc() Function Changed… | by Austin Smith | Level Up Coding](https://miro.medium.com/v2/resize:fit:1000/1*EB-QhkjyX4etoCD4lbQftQ.png)
Dynamic Element Scaling in CSS. How One calc() Function Changed… | by Austin Smith | Level Up Coding
![Line-height Crop — a simple CSS formula to remove top space from your text | by Claudia Romano | CodyHouse | Medium Line-height Crop — a simple CSS formula to remove top space from your text | by Claudia Romano | CodyHouse | Medium](https://miro.medium.com/v2/resize:fit:679/1*-fCK_LIT4kM5eSqgxJtqLw.gif)