Support Logical Shorthands in CSS
There’s a bit of a blind spot when working with CSS logical properties concerning shorthands.
Continue reading "Support Logical Shorthands in CSS" at CSS-Tricks
You probably want CSS-Tricks
There’s a bit of a blind spot when working with CSS logical properties concerning shorthands.
Continue reading "Support Logical Shorthands in CSS" at CSS-Tricks
I’ve used border-image regularly. Yet, it remains one of the most underused CSS tools, and I can’t, for the life of me, figure out why. Is it possible that people steer clear of border-image because its syntax is awkward and unintuitive? Perhaps it’s because most explanations don’t solve the type of creative implementation problems that most people need to solve. Most likely, it’s both.
Continue reading "Revisiting CSS border-image" at CSS-Tricks
I’ve seen a handful of recent posts talking about the utility of the :is() relational pseudo-selector. No need to delve […]
Ooo, look at that: Safari Technology Preview 215 adds support for scroll-driven animations, anchor positioning, and text-wrap: pretty. That’s a […]
Smashing Magazine is hosting a free online event discussing modern CSS goodness with the likes of Adam Argyle, Julia Miocene, […]
Going from the most basic ways to style lists directly in HTML to advanced customization techniques that are even capable of making things that aren’t lists look like lists.
The CSSWG has voted to add a size keyword that’s shorthand for the width and height properties.
Scott Jehl released a course called Web Components Demystified. This is my full set of notes from Scott’s course. You’ll still want to take the course on your own, and I encourage you to because Scott is an excellent teacher who makes all of this stuff extremely accessible, even to noobs like me.
With Astro, we can generate most of our site during our build, but have a small bit of server-side code that can handle search functionality using something like Fuse.js. In this demo, we’ll use Fuse to search through a set of personal “bookmarks” that are generated at build time, but return back proper results from a server call.
Continue reading "Powering Search With Astro Actions and Fuse.js" at CSS-Tricks
The videos from Smashing Magazine’s recent event on accessibility were just posted the other day. I was invited to host the panel discussion with the speakers, including a couple of personal heroes of mine, Stéphanie Walter and Sarah Fossheim. But I was just as stoked to meet Kardo Ayoub who shared his deeply personal story as a designer with a major visual impairment.
Continue reading "Smashing Meets Accessibility" at CSS-Tricks
Chrome has delayed shipping @function to Chrome 139! A wise choice, if you ask me; functions will set a before […]
In this second article of a two-part series, Temani Afif demonstrates an alternative approach to creating the star rating component from the first article using experimental scroll-driven animations rather than using the border-image property.
Continue reading "A CSS-Only Star Rating Component and More! (Part 2)" at CSS-Tricks