The Gap Strikes Back: Now Stylable

Styling the space between layout items — the gap — has typically required some clever workarounds. But a new CSS feature changes all that with just a few simple CSS properties that make it easy, yet also flexible, to display styled separators between your layout items.

The…

Flood of interest in Europe’s AI Gigafactories plan

The European Commission has seen a flood of interest from companies looking to help create AI Gigafactories across Europe. Brussels has been virtually swamped with proposals for new AI Gigafactories. 76 expressions of interest have been submitted, covering 60 potential sites across 16 EU countries. The…

CSS Color Functions

CSS has a number of functions that can be used to set, translate, and manipulate colors. Learn what they are and how they are used with a bunch of examples to get you started.

CSS Color Functions originally published on CSS-Tricks, which is part of the DigitalOcean…

Color Everything in CSS

An introduction to “Color spaces”, “Color models”, “Color gamuts,” and basically all of the “Color somethings” in CSS.

Color Everything in CSS originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter….

A Better API for the Intersection and Mutation Observers

Zell discusses refactoring the Resize, Mutation, and Intersection Observer APIs for easier usage, demonstrating how to implement callback and event listener patterns, while highlighting available options and methods.

A Better API for the Intersection and Mutation Observers originally published on CSS-Tricks, which is part of the DigitalOcean…

Using CSS Cascade Layers With Tailwind Utilities

Being the bad boy I am, I don’t take Tailwind’s default approach to cascade layers as the “best” one. Over a year experimenting with Tailwind and vanilla CSS, I’ve come across what I believe is a better solution.

Using CSS Cascade Layers With Tailwind Utilities originally published…