this post was submitted on 10 Feb 2025
25 points (100.0% liked)

Web Development

3554 readers
11 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] BleakBluets@lemmy.world 4 points 2 days ago

It shouldn't be !important — that reads to engineers as “not important”. We should have picked another way to write this.

Maybe @important. Alternatively @specificity(0, 0, 0) with custom values. And allow it to be applied to both rules and selectors. That would have been cool.

I know it's bad practice to use !important anyway, but a quick way to customize specificity inline is useful for testing.