Skip to content

πŸ“š css

A CSS scroll version of the gooey island

Thanks @jh3yy!

weeklyfoo #42 / 2024-07-22
css

A CSS-Only Star Rating Component and More! (Part 1)

So great to see what you can do without any JavaScript.

weeklyfoo #75 / 2025-03-10
css

A Deep Dive into the Inline Background Overlap Problem

A tweet by Lucas Bonomi got me thinking about this problem: how to get a semitransparent background following some inline text with padding, but without the overlap problem that can be seen in the image below.

weeklyfoo #77 / 2025-03-24
css

A formula for responsive font-size

font-size: calc(1rem + 0.25vw);

weeklyfoo #24 / 2024-03-18
fontscss

A highly configurable switch component using modern CSS techniques

Learn how build a highly configurable switch component using modern CSS, such as :has(), container queries, Logical Properties and Custom Properties.

weeklyfoo #18 / 2024-02-05
cssswitch

Anchoreum

A game for learning CSS anchor positioning

weeklyfoo #73 / 2025-02-24
css

Animate hero elements with scroll-driven CSS animations

Very nice looking effect!

weeklyfoo #67 / 2025-01-13
css

Animated sign-in disclosure with only HTML and CSS using the Popover API

Thanks @jh3yy

weeklyfoo #36 / 2024-06-10
htmlcsspopover

Apple style blow out text effect.

Really like that one.

weeklyfoo #22 / 2024-03-04
css

Apple Tab Pill Animation

Seen this effect of Apple WWDC24

weeklyfoo #37 / 2024-06-17
css

ASCII Webcam

Uses webcam and transforms video in ascii art

weeklyfoo #50 / 2024-09-16
javascriptcss

Balanced Slider with CSS

Thanks @jh3yy!

weeklyfoo #17 / 2024-01-28
css

Balancing Text In CSS

How to make text look more balanced

weeklyfoo #67 / 2025-01-13
css

Building a progress-indicating scroll-to-top button in HTML and CSS

What a nice effect just with some css!

weeklyfoo #71 / 2025-02-10
css

Change scrollbar position

Thanks @jh3yy!

weeklyfoo #16 / 2024-01-22
css

Creating a Fun CSS Party Popper Animation

Learn how to create a custom loading animation.

weeklyfoo #73 / 2025-02-24
cssanimations

Creating an Angled Slider

Let’s walk through how this slider with angled content and hover effect works.

weeklyfoo #71 / 2025-02-10
cssslider

Creating Animated Accordions with the Details Element and Modern CSS

Accordions are everywhere these days. GitHub has them on their home page right now. Figma ships them, too. I’ve implemented so many custom accordions that I can’t count them.

weeklyfoo #77 / 2025-03-24
css

CSS @property and the New Style

Cool effect for a user’s attention.

weeklyfoo #49 / 2024-09-09
css

CSS Blurry Shimmer Effect

&lt3

weeklyfoo #18 / 2024-02-05
cssblurry

CSS Bursts with Conic Gradients

You can make stripes with CSS gradients pretty easily.

weeklyfoo #80 / 2025-04-14
css

CSS display contents

Learn how to use display contents to build more fluid layouts.

weeklyfoo #51 / 2024-09-23
css

CSS Kaleidoscopes

Gradients are so fun, so complex, so powerful. I just can’t get enough of messing with them.

weeklyfoo #75 / 2025-03-10
css

CSS Scroll Snap

Just some lines of CSS

weeklyfoo #60 / 2024-11-25
css

CSS scroll-triggered animations with style queries

Very popular currently.

weeklyfoo #23 / 2024-03-11
css

CSS Surprise Manga Lines

When a manga or anime character is surprised, lines focus on and highlight their face. Is it possible to create a similar effect with HTML and CSS?

weeklyfoo #40 / 2024-07-08
css

CSS view-timeline shine effect

Pretty cool scroll effect

weeklyfoo #82 / 2025-04-28
css

Expanding scroll indicators

Thanks @jh3yy!

weeklyfoo #14 / 2024-01-07
css

Explode on scroll effect

Thanks @jh3yy!

weeklyfoo #18 / 2024-02-05
css

Fading content using transparent gradient in CSS

Nothing more to say ;)

weeklyfoo #17 / 2024-01-28
cssgradients

Frosted Glass from Games to the Web

Create a nice blur effect.

weeklyfoo #62 / 2024-12-09
css

Glowy Border Shimmer Button

Looks hot!

weeklyfoo #7 / 2023-11-19
cssjavascript

Gooey effect

Thanks @jh3yy!

weeklyfoo #19 / 2024-02-12
css

Grid by Example

Everything you need to learn CSS Grid Layout

weeklyfoo #16 / 2024-01-22
cssgrid

Grid Garden

Welcome to Grid Garden, where you write CSS code to grow your carrot garden! Water only the areas that have carrots by using the grid-column-start property.

weeklyfoo #36 / 2024-06-10
cssgrid

How to center an element in CSS without adding a wrapper in HTML

Another article to solve the problem of centering elements in css

weeklyfoo #16 / 2024-01-22
css

How to create rounded gradient borders with any background in CSS

Looks nice!

weeklyfoo #19 / 2024-02-12
css

How to Make a Scroll-to-Select Form Control

A scroll-to-select form control is a form control that allows users to scroll through a list of options and select one. This is a common pattern in mobile apps, but it can also be useful on the web.

weeklyfoo #53 / 2024-10-07
cssforms

Infinite-Scrolling Logos In Flat HTML And Pure CSS

Good old marquee effect!

weeklyfoo #27 / 2024-04-08
css

Make creative borders with background-clip border-area

How’d you like to use CSS to easily create a border from an image or gradient?

weeklyfoo #61 / 2024-12-02
css

Making content-aware components using CSS :has(), grid, and quantity queries

The idea here is that you then preemptively provide sensible behavior and safeguards to keep things working well.

weeklyfoo #57 / 2024-11-04
css

Midjourney-inspired gallery scroller with CSS scroll animation

No JS needed!

weeklyfoo #31 / 2024-05-06
css

New way to animate borders

Thanks @jh3yy!

weeklyfoo #18 / 2024-02-05
css

Nice header effect

Thanks @jh3yy!

weeklyfoo #14 / 2024-01-07
css

On-Scroll Sliced Text Animation

A scroll-triggered sliced text animation, where segmented elements reunite while scrolling.

weeklyfoo #10 / 2023-12-13
css

Popovers Work Pretty Nicely as Slide-Out Drawers

Pretty nice and all with built-in APIs

weeklyfoo #39 / 2024-07-01
css

Pure CSS Circular Text (without Requiring a Monospace Font)

There is no simple and obvious way to set text on a circle in CSS. Good news though! You can create a beautiful, colorful, and even rotating circular text with pure CSS. It just takes a bit of work and we’ll go over that here.

weeklyfoo #39 / 2024-07-01
css

Pure CSS Halftone Effect in 3 Declarations

Also good to learn what a halftone effect is!

weeklyfoo #63 / 2024-12-16
csshalftone

Quick Trick - Using border-image to Apply and Overlay Gradient.

A one-liner for a nice effect.

weeklyfoo #37 / 2024-06-17
css

Responsive app switcher or carousel UI with CSS view()

That’s so nice!

weeklyfoo #49 / 2024-09-09
css

Scroll-driven animations and 3D perspective

The trick is driving the animation with list items that are smaller in height than the images

weeklyfoo #30 / 2024-04-29
css

Siblings Fade

Nice effect with just a couple lines of css

weeklyfoo #17 / 2024-01-28
css

SVG Tutorial

Learn to code SVG images step by step in HTML

weeklyfoo #11 / 2023-12-17
csshtml

Tab Controls with CSS

Thanks @jh3yy!

weeklyfoo #16 / 2024-01-22
css

The Different (and Modern) Ways to Toggle Content

Pure css and html ftw!

weeklyfoo #59 / 2024-11-18
htmlcss

Trigger text highlights on scroll

Thanks @jh3yy!

weeklyfoo #18 / 2024-02-05
css

Use CSS shape-outside to wrap text around shapes

Nice effect with just a bit of css.

weeklyfoo #25 / 2024-03-25
css

View transitions - Demo

View Transitions in actions.

weeklyfoo #80 / 2025-04-14
css

You can create these landing page effects with CSS scroll-driven animations and zero JavaScript πŸ”₯

Thanks @jh3yy!

weeklyfoo #10 / 2023-12-13
css

You can use custom properties to control motion rate in your transitions and animations

Thanks @jh3yy!

weeklyfoo #11 / 2023-12-17
css

You can use mask-composite and some JavaScript to create this pointer proximity following glow border

Thanks jhey!

weeklyfoo #11 / 2023-12-17
css