Skip to content

πŸ“° css

12 Modern CSS One-Line Upgrades

Good one-liners you should know!

weeklyfoo #17 / 2024-01-28
css

5 CSS snippets every front-end developer should know in 2024

has, subgrids, nesting, balance, container query units

weeklyfoo #16 / 2024-01-22
css

A Practical Introduction to Scroll-Driven Animations with CSS scroll() and view()

With just CSS you can add scroll animations that toggle shadows on navbars, reveal images, add scrollytelling, link up carousel elements and much more.

weeklyfoo #17 / 2024-01-28
cssanimations

An Interactive Guide to CSS Grid

Beautiful introduction to css grids.

weeklyfoo #8 / 2023-11-26
cssgrids

An official logo for CSS

CSS has a new logo!

weeklyfoo #59 / 2024-11-18
css

Bonfire with CSS

Unbelievable but true!

weeklyfoo #30 / 2024-04-29
animationscss

browser-window web component

nice one!

weeklyfoo #5 / 2023-11-05
htmljavascriptcss

Can you convert a video to pure css?

This is insane.

weeklyfoo #48 / 2024-09-02
css

Cascading Spy Sheets

Exploiting the Complexity of Modern CSS for Email and Browser Fingerprinting

weeklyfoo #69 / 2025-01-27
csssecurity

Centering things: a solved problem?

Is it really solved? Can’t I make any jokes about it anymore?

weeklyfoo #59 / 2024-11-18
css

CSS @function + CSS if() = 🀯

This post is about an upcoming CSS feature. You can’t use it … yet.

weeklyfoo #73 / 2025-02-24
css

CSS Almanac

All you need to know about CSS.

weeklyfoo #52 / 2024-09-30
css

CSS finally adds vertical centering in 2024

One of the most challenging programming skills is becoming a one-liner ;)

weeklyfoo #49 / 2024-09-09
css

CSS for printing to paper

Maybe an edge case, but get some insights how to style a webpage for printing.

weeklyfoo #23 / 2024-03-11
cssprinting

CSS Grid Areas

A fresh look at the CSS grid template areas and how to take advantage of its full potential today.

weeklyfoo #43 / 2024-07-29
css

CSS Hooks: A new way to style your React apps

oO css and hooks

weeklyfoo #23 / 2024-03-11
css

CSS is fun again

”fun” β€œagain” ;)

weeklyfoo #13 / 2023-12-31
css

CSS Masonry & CSS Grid

Quick heads up about the masonry initiative.

weeklyfoo #53 / 2024-10-07
cssgridmasonry

CSS One-Liners to Improve (Almost) Every Project

A collection of simple one-line CSS solutions to add little improvements to any web page.

weeklyfoo #41 / 2024-07-14
css

CSS Selectors: A Visual Guide

Here’s a visual guide to the most popular CSS selectors.

weeklyfoo #5 / 2023-11-05
css

CSS Wishlist 2025

CSS Wishlist time!

weeklyfoo #64 / 2024-12-23
css

CSS Wrapped 2024

Chrome and CSS in 2024 journeyed through the forest, over the mountains, and across the seas…

weeklyfoo #62 / 2024-12-09
css

Designing better target sizes

An interactive guide that is all about enhancing the target size area with CSS.

weeklyfoo #16 / 2024-01-22
css

Easy vertical alignment without flexbox

align content ftw

weeklyfoo #13 / 2023-12-31
css

ecss

Avoiding common styling problems is simple. And you only need efficient CSS. Nothing more.

weeklyfoo #24 / 2024-03-18
css

ESLint now officially supports linting of CSS

Taking our next step towards providing a language-agnostic platform for source code linting.

weeklyfoo #73 / 2025-02-24
eslintcss

Fit-to-Width Text: A New Technique

Registered custom properties are now available in all modern browsers. Using some pre-existing techniques based on them and complex container query length units, I solved a years-long problem of fitting text to the width of a container, hopefully paving the path towards a proper native implementation.

weeklyfoo #60 / 2024-11-25
css

Fun with Custom Cursors

Two ways to change the default mouse cursor appearance.

weeklyfoo #57 / 2024-11-04
cursorscss

Functions in CSS?!

You (kinda) can use functions now!

weeklyfoo #75 / 2025-03-10
css

Get The Screen Width & Height Without JavaScript

Powered by @property & trigonometric functions

weeklyfoo #42 / 2024-07-22
css

Gotchas in Naming CSS View Transitions

I’m playing with making cross-document view transitions work on this blog.

weeklyfoo #68 / 2025-01-19
css

Help us choose the final syntax for Masonry in CSS

I like how they want to get the community involved.

weeklyfoo #56 / 2024-10-25
cssmasonry

Help us invent CSS Grid Level 3, aka Masonry layout

This Masonry layout looks great!

weeklyfoo #30 / 2024-04-29
css

How Bear does analytics with CSS

Nice idea to use css for analytics

weeklyfoo #5 / 2023-11-05
analyticscss

How To Center a Div

The Ultimate Guide to Centering in CSS. So many ways to do it.

weeklyfoo #20 / 2024-02-19
css

Introducing StyleX

StyleX takes the developer experience of CSS-in-JS libraries and uses compile-time tooling to bridge it with the performance and scalability of static CSS.

weeklyfoo #10 / 2023-12-13
reactcss

Introducing the CSS anchor positioning API

That could solve a lot of issues.

weeklyfoo #35 / 2024-06-03
css

Minimal CSS-only blurry image placeholders

Here’s a CSS technique that produces blurry image placeholders (LQIPs) without cluttering up your markup β€” Only a single custom property needed!

weeklyfoo #79 / 2025-04-07
css

My Modern CSS Reset

A starter to reset css for your new project.

weeklyfoo #57 / 2024-11-04
css

New Magic For Animations in CSS

Some simplifications for animations

weeklyfoo #35 / 2024-06-03
css

Next.js exploring Lightning CSS

Always wanted to check how Lightning CSS performs.

weeklyfoo #13 / 2023-12-31
cssnextjs

Printing music with CSS Grid

This is pure art.

weeklyfoo #31 / 2024-05-06
musiccss

Results of State of CSS 2024

See the survey results.

weeklyfoo #56 / 2024-10-25
css

Revisiting CSS Multi-Column Layout

Honestly, it’s difficult for me to come to terms with, but almost 20 years have passed since I wrote my first book, Transcending CSS. In it, I explained how and why to use what was the then-emerging Multi-Column Layout module.

weeklyfoo #70 / 2025-02-03
css

Scrollbar styling

No -webkit hazzle anymore!

weeklyfoo #16 / 2024-01-22
cssscrollbars

So you think you know box shadows?

Box shadows. I love them.

weeklyfoo #43 / 2024-07-29
css

Sticky Headers And Full-Height Elements: A Tricky Combination

Sticky positioning is one of those CSS features that’s pretty delicate and can be negated by a lot of things, so here’s another one to add to your mental catalog: Sticky elements don’t play nicely if they have to coordinate with other elements to make up a combined height, like 100vh. Philip Braunen explores why this happens and presents a solution to fix it.

weeklyfoo #50 / 2024-09-16
css

Tailwind CSS v4.0 Beta

Preview what’s coming in the next version of Tailwind CSS.

weeklyfoo #60 / 2024-11-25
tailwindcss

The Frontend Challenge: bananas are the superior fruit

I’m always impressed what you can do just with CSS.

weeklyfoo #27 / 2024-04-08
css

The Gap

An exploration of the pain points that CSS gap solves.

weeklyfoo #36 / 2024-06-10
css

The select element can now be customized with CSS

From Chrome 135, web developers and designers can finally unite on an accessible, standardized and CSS styleable select element on the web.

weeklyfoo #78 / 2025-03-31
csschrome

The Valley of Code

Your web development manual

weeklyfoo #13 / 2023-12-31
webhtmlcssreactastro

Three modern CSS properties your website must have

Let’s explore three lesser-known CSS secrets that can help you fixing some UI problems on your website.

weeklyfoo #12 / 2023-12-24
css

Top Pens of 2024

The most hearted of 2024

weeklyfoo #69 / 2025-01-27
cssjavascripthtml

transparent borders

Don’t remove borders from components, make them transparent.

weeklyfoo #32 / 2024-05-13
css

Using & Styling the Details Element

You can find the details element all over the web these days. We were excited about it when it first dropped and toyed with using it as a menu back in 2019 (but probably don’t) among many other experiments.

weeklyfoo #75 / 2025-03-10
css