5 ms·
I am bad at CSS.
by kixelated 1y ago
I am bad at CSS.
- Waterluvian 1y agoManaging aspect ratios in conjunction with managing a responsive page layout is one of the darker parts of CSS in my experience. You’re not alone.
- nine_k 1y agoNot dark anymore: https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-rati...
- Waterluvian 1y agoI wish it was true but there’s so many times aspect-ratio still doesn’t work. It’s a pretty weak property so things like flexbox parents will quickly cause it to be ignored.