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

Alternatives to the !important Keyword

css-tricks.com

external-link
message-square
0
link
fedilink
4
external-link

Alternatives to the !important Keyword

css-tricks.com

codeinabox to CSSEnglish · 18 days ago
message-square
0
link
fedilink
Alternatives to the !important Keyword | CSS-Tricks
css-tricks.com
external-link
Cascade layers, specificity tricks, smarter ordering, and even some clever selector hacks can often replace !important with something cleaner, more predictable, and far less embarrassing to explain to your future self.
alert-triangle
You must log in or # to comment.

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.

  • 11 users / day
  • 5 users / week
  • 74 users / month
  • 282 users / 6 months
  • 236 local subscribers
  • 768 subscribers
  • 214 Posts
  • 150 Comments
  • Modlog
  • mods:
  • Ategon
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org