css-tricks.com
Quick Hit #46
Straight from the W3C Technical Architecture Group: “We see an urgency to have a strict timeline for the removal of …
css-tricks.com
Straight from the W3C Technical Architecture Group: “We see an urgency to have a strict timeline for the removal of …
css-tricks.com
The CSS shape() function recently gained support in both Chromium and WebKit browsers. It’s a way of drawing complex shapes when clipping elements with the clip-path property.
css-tricks.com
The GSAP animation library and its plugins are now completely free for open use.
css-tricks.com
The State of Devs survey is now open to participation, and unlike previous surveys it covers everything except code: career, workplace, but also health, hobbies, and more.
css-tricks.com
Let’s run through a quick refresher. Image maps date all the way back to HTML 3.2, where, first, server-side maps and then client-side maps defined clickable regions over an image using map and area elements.
css-tricks.com
Brad Frost is running this new little podcast called Open Up. Folks write in with questions about the “other” side …
css-tricks.com
The fact that anchor positioning eschews HTML source order is so CSS-y because it’s another separation of concerns between content and presentation.
css-tricks.com
In this post, Blackle Mori shows you a few of the hacks found while trying to push the limits of Cohost’s HTML support. Use these if you dare, lest you too get labelled a CSS criminal.
css-tricks.com
The CSSWG just released the first public working draft of the specifications for adding gap decorations — you know, like …
css-tricks.com
Yay, let’s jump for text-wrap: pretty landing in Safari Technology Preview! But beware that it’s different from how it works in Chromium browsers.
css-tricks.com
There was once upon a time when native CSS lacked many essential features, leaving developers to come up with all sorts of ways to make CSS easier to write over the years.
css-tricks.com
Tips and tricks on utilizing the CSS backdrop-filter property to style user interfaces. You’ll learn how to layer backdrop filters among multiple elements, and integrate them with other CSS graphical effects to create elaborate designs.
css-tricks.com
Custom cursors with CSS are great, but we can take things to the next level with JavaScript. Using JavaScript, we can transition between cursor states, place dynamic text within the cursor, apply complex animations, and apply filters.
css-tricks.com
Browsers are planning to update UA stylesheets for nested <h1> elements. It’s a good idea to make sure your nested …
css-tricks.com
This CSS-Tricks update highlights significant progress in the Almanac, recent podcast appearances, a new CSS counters guide, and the addition of several new authors contributing valuable content.
css-tricks.com
Most of the time, people showcase Tailwind’s @apply feature with one of Tailwind’s single-property utilities (which changes a single CSS declaration). When showcased this way, @apply doesn’t sound promising at all. So obviously, nobody wants to use it. Personally, I think Tailwind’s @apply feature is better than described.
css-tricks.com
If I were starting with CSS today for the very first time, I would first want to spend time understanding …
css-tricks.com
Chrome has prototyped these features and released them in Chrome 135. Adam Argyle has a wonderful explainer over at the Chrome Developer blog. Kevin Powell has an equally wonderful video where he follows the explainer. This post is me taking notes from them.
css-tricks.com
Deploying like an idiot comes down to a mismatch between the tools you use to deploy and the reward in complexity reduced versus complexity added.
css-tricks.com
HTML 5 Readiness was a site that showed through a rainbow of colors the browser support for several web features. What about a new version?
css-tricks.com
Well, it turns out that SVG’s built-in animation features were never deprecated as planned. Sure, CSS and JavaScript are more than capable of carrying the load, but it’s good to know that SMIL is not dead in the water as previously thought, and is actually well-supported.
css-tricks.com
One thing we can do to help teams code consistently is provide type-checking so that all of the configurable options for a specific component are available while coding. Bryan demonstrates how he does this with TypeScript when working with Astro components.
css-tricks.com
Interactive CSS animations with elements ricocheting off each other seem more plausible in 2025. While it’s unnecessary to implement Pong in CSS, the increasing flexibility and power of CSS reinforce Lee’s suspicion that one day it will be a lifestyle choice whether to achieve any given effect with scripting or CSS.
css-tricks.com
Masonry in CSS: There’s a new, third option in the debate that combines Flexbox and CSS Grid features into a …
css-tricks.com
With visual regression testing, we can update a page, take screenshots before and after the fact, and compare the results for unintended changes. In this article, learn how to set up visual regression testing using Playwright.
css-tricks.com
Having been tasked with creating a UI component for navigating the content of an online course, Daniel found himself neck-deep in a pool of new CSS features that he wound up using on the project.
css-tricks.com
There’s a bit of a blind spot when working with CSS logical properties concerning shorthands.
css-tricks.com
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.
css-tricks.com
I’ve seen a handful of recent posts talking about the utility of the :is() relational pseudo-selector. No need to delve …
css-tricks.com
Ooo, look at that: Safari Technology Preview 215 adds support for scroll-driven animations, anchor positioning, and text-wrap: pretty. That’s a …