HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by Waterluvian

Comment by Waterluvian 14 hours ago

2 replies

View on Hacker News

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.

nine_k 9 hours ago

Not dark anymore: https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-rati...

Reply View | 1 reply
  • Waterluvian 4 hours 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.

    Reply View | 0 replies