Y
Hacker News
new
|
ask
|
show
|
jobs
by
kixelated
293 days ago
I am bad at CSS.
1 comments
Waterluvian
293 days ago
Managing 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.
link
nine_k
293 days ago
Not dark anymore:
https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-rati...
link
Waterluvian
292 days ago
I 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.
link