
Post Serie Archives:
The Future of CSS: Scroll-Linked Animations with
The Future of CSS: Scroll-Linked Animations with @scroll-timeline
(Part 1)
Style Spelling and Grammar Errors with the ::spelling-error
and ::grammar-error
pseudo-elements

Part of the CSS Pseudo-Elements Level 4 Specification are ways to style spelling and grammar errors. By default spelling errors — words you have mistyped — get a red dotted underline, thanks to the ::spelling-error pseudo-class selector you can tweak that. Grammar errors — such as a missing capital letter at the beginning of a …
Style the target text from text-fragment links using the ::target-text
pseudo-element

One of my favorite features that shipped with Chrome 80 — apart from Optional Chaining — is the ability to link to text-fragments. By default Chrome will highlight those in yellow: 💡 To easily create text-fragment links there’s this Chromium Plugin you can use. ~ As tweeted before, coming to Chromium 89 is the ability …
The future of CSS: Higher Level Custom Properties to control multiple declarations
Native Aspect Ratio Boxes in CSS thanks to aspect-ratio
Container Queries are coming to Chromium!
CSS leading-trim
– The Future of Digital Typesetting

Ethan Wang, who works at Microsoft: In a standard text box, there’s almost always extra space above and below the actual text. Because of this, when you use a text box to measure and implement spacing, it ends up larger than you intended. The bigger the line height, the bigger the problem. You can see …
Continue reading “CSS leading-trim
– The Future of Digital Typesetting”
Colors in CSS: Hello Space-Separated Functional Color Notations
Individual CSS Transform Properties

# Individual Transform Properties New in Firefox 72 is the ability to individually define CSS Transform Properties. You can now separately define scale, rotate, and translate CSS properties, instead of having to chuff them all into one single transform property. The translate, rotate, and scale properties allow authors to specify simple transforms independently, in a …