programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox to CSSEnglish · 13 hours ago

How to @scope CSS Now That It’s Baseline

frontendmasters.com

external-link
message-square
2
link
fedilink
7
external-link

How to @scope CSS Now That It’s Baseline

frontendmasters.com

codeinabox to CSSEnglish · 13 hours ago
message-square
2
link
fedilink
How to @scope CSS Now That It’s Baseline – Frontend Masters Blog
frontendmasters.com
external-link
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).
alert-triangle
You must log in or # to comment.
  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    12 hours ago

    So it’s basically nesting but with extra steps?

    • Aedis@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      My gut says… it’s CSS, always has been

CSS

css

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 9 users / day
  • 14 users / week
  • 51 users / month
  • 157 users / 6 months
  • 227 local subscribers
  • 680 subscribers
  • 157 Posts
  • 110 Comments
  • Modlog
  • mods:
  • Ategon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org