Styling the space between layout items — the gap — has typically required some clever workarounds. But a new CSS feature changes all that with just a few simple CSS properties that make it easy, yet also flexible, to display styled separators between your layout items.
Say Hello to selectmenu, a Fully Style-able select Element
I want to introduce you to a new, experimental form control called <selectmenu>
. We’ll get deep into it, including how much easier it is to style than a traditional <select>
element. But first, let’s fill in some context …
CSS Custom Highlight API: The Future of Highlighting Text Ranges on the Web
Styling ranges of text in software is a very useful thing to be able to do. Thankfully, we have the CSS Custom Highlight API to look forward to because it represents the future of styling text ranges on the web.…
Minding the “gap”
Read an updated article with an approach that uses modern CSS features.
You might already know about the CSS gap
property. It isn’t exactly new, but it did gain an important new ability last year: it now works in …