Chris Coyier
Opening a Details Element from the URL
If the #hash in the URL matches the ID of an element *inside* a
Very Early Playing with random() in CSS
(Only Safari Technical Preview!)
Awfully cool `random()` is coming in CSS. The design possibilities are quite cool.
Quick Dark Mode Toggles
All the browsers DevTools have a way of emulating color modes. The are essentially faking the system preference at the application level. Here’s where those controls are located and another nice tool.
You really don’t have to put your CSS custom properties in :root {}
I feel like most usage of global CSS custom property use has the author putting them into a :root selector like: This is just a PSA that you… don’t have to. It’s not required. It has nothing to do with custom properties. It’s just a selector. It happens to select the html element on a […]
What is popover=hint?
If you know a bit about the popover API in HTML, you might know it’s basically 1) click a button 2) toggle visibility of another element. Una has a great article explaining that there is a bit more to it. First, there are actually three kinds of popovers. There is the normal kind, which close […]
Web Design: What is the web capable of that is hard to express in design software?
The web platform has a heaping helping of more design capability built into it than any design software does.
Stretch
Did you know you can do height: stretch now in CSS? Works for width too. Dave Rupert The other day [Dave] shared a link to the new stretch keyword in CSS – and I saw a lot of questions about how it’s different from 100% (or 100vh when doing full-screen layouts). So I made a quick […]
A Nice Vanilla App Architecture Using Web Components and CSS Module Scripts
CSS module scripts help keep the dream of co-locating files that all relate to a component, without needing a bundler.