CSS-Only Scrollspy Effect Using scroll-marker-group and :target-current

Sara Soueidan shows how to create a Scrollspy effect using a couple of lines of CSS.
Sara Soueidan shows how to create a Scrollspy effect using a couple of lines of CSS.
Jon Davis, Jen Simmons, and Tim Nguyen give an introduction to the random()
function that’s coming to CSS, which will let you create a random animation delay, layout content at a random place on the screen, create a random color, or anything you want — all without any JavaScript.
Rocket is the world’s most advanced vibe coding tool—a new way to build apps that’s as easy as speaking an idea out loud.
In one sentence, you describe what you want, and Rocket gives you a complete, fully functional, beautifully designed product, including:
No scaffolding. No fiddling with menus. No wrestling with components. Get free credits and build your first project today.
Quick tip showing how to restore deleted files in Visual Studio Code using local file history, and how to restore different versions of files outside of version control.
Ahmad Shadeed covers the basics of Anchor Positioning, explaining everything you need to know to get started with it.
Amit Sheen explores the clip-path
property, starting with basics and moving through the functions and syntax to powerful shape logic that goes way beyond the basic polygons you might be used to.
Ana Tudor demonstrates how to use an underdog media query, resolution queries, to define radial gradients that don’t blur or become jagged.
Amit Sheen explains how to build the layered 3D text effect from scratch using HTML and CSS, covering structure, stacking, indexing, perspective, and how to make it all come together visually.
Level up your coding skills in a variety of languages and frameworks, from front-end to fullstack, courses on subjects Next, Express, Supabase, Vite, TypeScript, React, and more.
As a CSS Weekly reader, you will get a 20% discount if you upgrade to Scrimba Pro to get access to all of their courses.
Uppy is a sleek, modular JavaScript file uploader with a comprehensible API.
LiftKit is a UI framework based on the golden ratio. At its core, it’s a set of formulas and variables that unlock advanced visual design features like optical spacing corrections and dynamic color, powered by Material 3.
Josh Dillon created an incredibly effective hover effect you should check out.
Thank you so much for reading!
If you want to support this newsletter and my work, check out:
• CSS Stickers
• CSS Weekly on Buy Me a Coffee
• CSS Weekly on Patreon
• CSS Weekly YouTube Channel
• Mastering Linting
Happy coding,
Zoran Jambor