QuirksBlog monthlies
This is the monthly archive for May 2021.
This week we’ll take a look at the new aspect-ratio
declaration and its use. Una Kravets wrote the introductory article, but there are some additional technical points to be made. I also wrote a little fallback that you might use if you need aspect-ratio
right now.
continue reading
I’m currently investigating the new aspect-ratio
declaration and plan to write an article about it. However, I got stuck on
aspect ratios in a grid context. Chrome/Safari and Firefox do something different here, and I understand neither approach. So I hope I can get some help.
aspect-ratio
is currently supported by Chrome 90, by Firefox 88 with the correct flag enabled, and by Safari Technology Preview. I tested mostly in the first two — for complicated reasons I cannot install STP right now, but a kind Twitter follower sent me a few screenshots. It behaves as Chrome.
continue reading
Recently I interviewed Stefan Judis for my upcoming book. We discussed CSS custom properties, and something interesting happened.
We had a period of a few minutes where we were talking past one another, because, as it turns out, we have completely opposite ideas about the use of CSS custom properties. I had never considered his approach, and I found it interesting enough to write this quick post.
continue reading
Older
See the April 2021 archive.