Skip to content

Targeted disabling of styles #2994

Answered by bulats
bulats asked this question in Help
Dec 4, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The solution is to use @layer

@layer base {
  *, ::before, ::after {
    box-sizing: border-box;
    border-style: none;
    border-color: #e5e7eb;
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simonswiss
Comment options

Answer selected by simonswiss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants