← Back to Master.dev
Courses Learn Become a Member Guest Writing
RSS
/ BLOG
Author Archive for

Daniel Schwarz

Post Thumbnail for Managing Anchor Associations With Data Attributes and Advanced attr()
AnchorCSSIdent

Managing Anchor Associations With Data Attributes and Advanced attr()

By Daniel Schwarz on May 27, 2026

There is no `anchor` attribute in HTML, it was decided CSS `anchor-name` / `position-anchor` was the way to go. But modern CSS functions can get us there anyway.

Post Thumbnail for How to @scope CSS Now That It’s Baseline
@scopeCSS

How to @scope CSS Now That It’s Baseline

By Daniel Schwarz on Jan 05, 2026

There is a way to declare a scope on a specific selector, a specific selector *down to* another selector, or with no selector at all (which scopes to its parent in the DOM).

Post Thumbnail for How to Add and Remove Items From a Native CSS Carousel (…with CSS)
CarouselsCheckboxCSS

How to Add and Remove Items From a Native CSS Carousel (…with CSS)

By Daniel Schwarz on Nov 26, 2025

It’s already quite impressive you can build a carousel with no JS at all (in Chrome, for now, anyway) and with some checkbox-hack stuff we can control dynamically what is shown.

Post Thumbnail for How much do you really know about media queries?
CSSMedia Query

How much do you really know about media queries?

By Daniel Schwarz on Sep 29, 2025

There are a ton more @media queries than “width” and “prefers-reduced-motion”. Let’s have a long, along with use-cases.

Author

Daniel Schwarz
Daniel Schwarz
PM technical editor at LogRocket. Previously, UX editor at Toptal and SitePoint.
Website Bluesky Profile
$966,000

Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.

  • Courses
  • Learn
  • Teachers
  • Guides
  • Blog
  • FAQ
  • Login
  • Join Now
  • RSS
X LinkedIn Facebook Instagram RSS
Frontend Masters App on the Apple App Store Frontend Masters App on Google Play
Contact: support@master.dev
Master.dev is proudly made in Minneapolis, MN
©2026 Master.dev · Terms of Service · Privacy Policy