Discuss Online
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to CSS@programming.devEnglish · 12 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@programming.dev to CSS@programming.devEnglish · 12 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@programming.dev

css@programming.dev

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: !css@programming.dev
Visibility: Public
globe

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

  • 2 users / day
  • 7 users / week
  • 77 users / month
  • 277 users / 6 months
  • 2 local subscribers
  • 762 subscribers
  • 208 Posts
  • 132 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • BE: 0.19.16
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org