Skip to main content
Dublin Library

The Publishing Project

CSS revert rule: a more lenient reset?

There are times when you want to reset the CSS of an element as if it hadn't happened. I'm finding this problem when working with WordPress block themes: There are so many css custom properties that...

Different strategies for using @support

The @supports at-rule allows us to test if something is supported in CSS. The version of @supports that we see most often is testing for a rule inside a selector. @supports (display: grid) { /* ...

Coding CSS defensively

When working with CSS technologies, we may be in situations where not all browsers support a given property and we need to code around this partial support for the feature we're testing. To me, this...

Underestanding writing modes

In the last post, we discussed logical attributes and how they depend on the vertical and horizontal directions of the text. In this post we'll look at the writing-mode CSS attribute and the direction...

Numbering sections of content

There are times when we need to number things that are not ordered list. The best example, from my experience, is numbering sections of content in the h1 element serving as the title for each section...

Archive Navigation