CSS Tricks

Follow this blog

CSS Pie Timer Re-Revisited

Kitty reflected on an ancient blog post here on CSS-Tricks on how to make an animated pie timer. The old technique is still clever. The new technique is equally clever and much easier. I particularly like the steps() animation function… The post CSS Pie Timer Re-Revisited appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

I could build this during the weekend

How many times have you heard that (or even uttered it under your own breath)? I know I’ve heard it in conversations. I also know I’ve wondered the same thing about a product or two — hey, the idea here … The post I could build this during the weekend appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Next Gen CSS: @container

Chrome is experimenting with @container, a property within the CSS Working Group Containment Level 3 spec being championed by Miriam Suzanne of Oddbird, and a group of engineers across the web platform. @container brings us the ability to … The post Next Gen CSS: @container appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Distributed Persistent Rendering (DPR)

Like Jamstack, Netlify is coining this term. If your reaction is: great, a new thing I need to know about and learn, know that while Distributed Persistent Rendering (DPR) does involve some new things, this is actually a push … The post Distributed Persistent Rendering (DPR) appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Topframe

This is extremely fun. Jeff Lindsay has created Topframe, and writes: Anybody that knows how to mess around with HTML can now mess around with their desktop computing experience. Topframe is an open source tool that lets you … The post Topframe appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Migrating from Parcel to Snowpack

I find build tooling endlessly interesting, especially right now as we’re in a juicy next-gen transitional period with players like Vite, wmr, Snowpack, and esbuild. Hugh Haworth has a good run-down of the new players, and we’ve chatted on … The post Migrating from Parcel to Snowpack appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Variable Aspect Ratio Card With Conic Gradients Meeting Along the Diagonal

I recently came across an interesting problem. I had to implement a grid of cards with a variable (user-set) aspect ratio that was stored in a --ratio custom property. Boxes with a certain aspect ratio are a classic problem in … The post Variable Aspect Ratio Card With Conic Gradients Meeting Along the Diagonal appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Is CSS a Programming Language?

I have a real distaste for this question. It might seem like a fun question to dig into on the surface, but the way it enters public discourse rarely seems to be in good faith. There are ulterior motives at … The post Is CSS a Programming Language? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Links on Typography

These are a few great links about typography that have been burning a hole in my saved bookmarks folder that I'm just now getting around to sharing. There's good stuff in there, from how to choose typefaces for app design to ideas for how to fix the concept of font sizing in CSS. The post Links on Typography appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Can I Email…

While I’m 85% certain you’ve seen and used Can I Use…, I bet there is only a 13% chance that you’ve seen and used Can I Email…. It’s the same vibe—detailed support information for web platform features—except instead … The post Can I Email… appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Apparently, You Can Use Route53 as a Blazingly Fast Database

Route53 is DNS management service by AWS. DNS is absolutely not a database, and yet here’s Nicholas Martin writing up some very clever trickery originally done by Corey Quinn: When you think about it, DNS configuration is actually a … The post Apparently, You Can Use Route53 as a Blazingly Fast Database appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

What Google’s New Page Experience Update Means for Images on Your Website

It’s easy to forget that, as a search engine, Google doesn’t just compare keywords to generate search results. Google knows that if people don’t enjoy their experience on a web page, they won’t stay on the page long enough to … The post What Google’s New Page Experience Update Means for Images on Your Website appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Custom State Pseudo-Classes in Chrome

There is an increasing number of “custom” features on the web platform. We have custom properties (--my-property), custom elements (<my-element>), and custom events (new CustomEvent('myEvent')). At one point, we might even get custom media … The post Custom State Pseudo-Classes in Chrome appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Astro

You can’t even look at code or documentation for Astro (publicly) yet — it’s an in-progress idea — but you can watch a video of Fred showing it off to Feross. I gotta admit: it looks awesome. I’m bullish … The post Astro appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Progress Delayed Is Progress Denied

The bombshell article of the week is from Alex Russell of Google/Chrome. Alex has long been super critical of Apple, particularly about how there is literally no option to run any other browser than Safari on iOS. This article isn’t … The post Progress Delayed Is Progress Denied appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.