Skip to content

Commit

Permalink
newsletters: Use correct image path for CSS counters demo
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jul 31, 2024
1 parent 5fec0b4 commit db3205a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/content/newsletters/2024-07-31.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ This makes the interactive part of the Acid2 test finally work as intended. (You

This month, we gained some basic support for CSS counters. Numbered lists have been a part of HTML since the early days, but more recently CSS gave web authors the ability to create their own automatically-incrementing counters using the `counter-set`, `counter-reset`, and `counter-increment` properties, and display them on the page with the `counter()` and `counters()` in the `content` property. A common use for this is to automatically number page headings.

While not complete, we now support enough of this that we are able to use it for the line numbers of Ladybird’s “view source” feature\!![][image1]
While not complete, we now support enough of this that we are able to use it for the line numbers of Ladybird’s “view source” feature\!

![](/assets/img/counters.png)

### More CSS color functions

Expand Down

0 comments on commit db3205a

Please sign in to comment.