Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Web Standards
Web Standards
@webstandards_dev@mastodon.social  ·  activity timestamp 2 weeks ago

How to @​scope CSS now that it’s Baseline. Daniel Schwarz notes that Firefox 146 has joined Chrome and Safari in supporting the @​scope at-rule, giving it the Baseline Newly Available status. This new feature defines scoped styling contexts, simplifying selectors and improving CSS structure. How to use @​scope in both HTML and CSS, keeping in mind its performance and reusability trade-offs. #css #baseline

https://frontendmasters.com/blog/how-to-scope-css-now-that-its-baseline/

How to @scope CSS now that it’s Baseline. Frontend Masters.
How to @scope CSS now that it’s Baseline. Frontend Masters.
How to @scope CSS now that it’s Baseline. Frontend Masters.
https://frontendmasters.com/blog

How to @scope CSS Now That It’s Baseline

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).
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct