Below you find the last seven QuirksBlog entries.
I’m writing the
position: sticky part of my book, and since I never worked with
sticky before I’m not totally sure if what I’m saying is correct.
This is made worse by the fact that there are no very clear tutorials on
sticky. That’s partly because it works pretty intuitively in most cases, and partly because the details can be complicated.
Safari is holding back the web. It is the new IE, after all. In contrast, Chrome is pushing the web forward so hard that it’s starting to break. Meanwhile web developers do nothing except moan and complain. The only thing left to do is to pick our poison.
You’re reading a failed article. I hoped to write about
@property and how it is useful for extending CSS inheritance considerably in many different circumstances. Alas, I failed.
@property turns out to be very useful for font sizes, but does not even approach the general applicability I hoped for.
Let’s talk about money!
Let’s talk about how hard it is to pay small amounts online to people whose work you like and who could really use a bit of income. Let’s talk about how Coil aims to change that.
Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property:
unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords.
The first three were defined in the Cascading Level 3 spec, while
revert was added in Cascading Level 4. Despite 4 still being in draft
revert is already supported.
the MDN revert page,
Chris Coyier’s page,
and my test page
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.
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.
Even older entries
See the May 2021 archive and beyond.