Search
Architecting With Next.js
24.8.2021
(This is a sponsored post.)
Free event hosted by Netlify coming up next week (Wednesday, August 25th): Architecting with Next.js. It’s just a little half-day thing. No brainer.
Join us for a special event where we’ll highlight business
…
The post Architecting With Next.js...
Detecting Media Query Support in CSS and JavaScript
23.8.2021
You can’t just do @media (prefers-reduced-data: no-preference) alone because, as Kilian Valkhof says:
[…] that would be false if either there was no support (since the browser wouldn’t understand the media query) or if it was supported but the
…
The post...
“Disambiguating Tailwind”
20.8.2021
I appreciated this bit of nuance from a post on Viget’s blog:
There could be a whole article written about the many flavours of Tailwind, but broadly speaking those flavours are:
1. Stock tailwind, ie. no changes to the
…
The post “Disambiguating Tailwind” appeared first...
“We had 90% unused CSS because everybody was afraid to touch the old stuff”
19.8.2021
Over at the JS Party poundcast:
[Kend C. Dodds]: […] ask anybody who’s done regular, old CSS and they’ll tell you that “I don’t know if it’s okay for me to change this, so I’m gonna duplicate it.” And
…
The post “We had 90% unused CSS because everybody was afraid to touch...
HTML is Not a Programming Language?
16.8.2021
HTML is not a programming language.
I’ve heard that sentence so many times and it’s tiring. Normally, it is followed by something like, It doesn’t have logic, or, It is not Turing complete,.so… obviously it is not a programming …
The post HTML is Not a Programming Language?...
Wanna see a whiter white?
11.8.2021
Heck of a CSS trick here from Dongsung Kim.
There are hidden HDR videos playing at the corners of this page. When a HDR-capable browser encounters one, it switches to HDR mode. For some reason, CSS backdrop-filter + brightness >100%
…
The post Wanna see a whiter white? appeared first...
SVG Gobbler
6.8.2021
Great little project from Ross Moody:
SVG Gobbler is a browser extension that finds the vector content on the page you’re viewing and gives you the option to download, optimize, copy, view the code, or export it as an image.
…
The post SVG Gobbler appeared first on CSS-Tricks....
The State Of Web Workers In 2021
5.8.2021
You gotta appreciate the tenacity of Surma. He’s been advocating for Web Workers as a path forward to better-feeling websites for a lot of years now. He’s at it again making sure we all understand the landscape:
[…] regardless
…
The post The State Of Web Workers In 2021...
GitHub Explains the Open Graph Images
29.7.2021
An explanation of those new GitHub social media images:
[…] our custom Open Graph image service is a little Node.js app that uses the GitHub GraphQL API to collect data, generates some HTML from a template, and pipes it to 
…
The post GitHub Explains the Open Graph Images...
My petite-vue review
23.7.2021
Dave:
petite-vue is a new cut of the Vue project specifically built with progressive enhancement in mind. At 5kb, petite-vue is a lightweight Alpine (or jQuery) alternative that can be “sprinkled” over your project requiring no extra bundling steps
…
The post My petite-vue...
Organize your CSS declarations alphabetically
23.7.2021
Eric, again not mincin’ no words with blog post titles. This is me:
The most common CSS declaration organization technique I come across is none whatsoever.
Almost none, anyway. I tend to group them by whatever dumps out of my …
The post Organize your CSS declarations alphabetically...
The Nine States of Design
21.7.2021
Here’s a really good ol’ post from way back in 2015 all about the nine states of design and how we should think all the edge cases whenever we’re building interfaces. Vince Speelman writes:
Modern UI teams are designing components
…
The post The Nine States of Design appeared first...
Your Image Is Probably Not Decorative
20.7.2021
Eric doesn’t mince words, especially in the title, but also in the conclusion:
In modern web design and development, displaying an image is a highly intentional act. Alternate descriptions allow us to explain the content of the image, and in
…
The post Your Image Is Probably...
Musk Trolls Buffett With Fake Quote on Twitter, Then Deletes It
6.7.2021
Elon Musk went after Bitcoin hater Warren Buffett recently, sharing what looked like a bullish crypto quote attributed to the billionaire investor. The tech entrepreneur, whose comments on social media have been moving crypto markets this year, later removed the post with the obviously fake Buffett...
Chromium spelling and grammar features
29.6.2021
Delan Azabani digs into the (hopefully) coming soon ::spelling-error and ::grammar-error pseudo selectors in CSS. Design control is always nice. Hey, if we can style scrollbars and style selected text, why not this?
The squiggly lines that indicate...
Chapter 9: Community
24.6.2021
In April of 2009, Yahoo! shut down GeoCities. Practically overnight, the once beloved service had its signup page replaced with a vague message announcing its closure.
We have decided to discontinue the process of allowing new customers to sign up
…
The post Chapter 9: Community appeared...
Useful and Useless Code Comments
16.6.2021
Jim Nielsen:
If somebody says a comment isn’t adding any value, I would ask: to whom?
Personally, I’ve never liked the advice that writing obvious comments is bad practice—probably because I write obvious comments all the time.
Jim showed …
The post Useful and Useless Code Comments...
Media Queries in Times of @container
15.6.2021
Max Böck took me up on my challenge to look through a codebase and see how many of the @media queries could ultimately become @container queries.
I took the bait and had a look at some of my projects –
…
The post Media Queries in Times of @container appeared first on CSS-Tricks.
You...
CSS-Tricks Chronicle XXXX
14.6.2021
Just a little link roundup of some off-site stuff I’ve done recently. As I’m wont to do from time to time.
DevJourney Podcast
#151 Chris Coyier from ceramics to CSS-Tricks and CodePen‘
Chris took us from playing on
…
The post CSS-Tricks Chronicle XXXX appeared first...
Principles for user-centered front-end development
4.6.2021
Colin Oakley:
• Accessible — Use semantic HTML, and make sure we meet the WCAG 2.1 AA standard as a minimum and it works with assisted technologies (this sits alongside the DWP Accessibility Manual)
• Agnostic — Build
…
The post Principles for user-centered front-end...