this post was submitted on 30 Sep 2025
342 points (97.8% liked)

Programmer Humor

27341 readers
1481 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] dohpaz42@lemmy.world 1 points 1 month ago (1 children)

Learn CSS layers, use CSS layers.

What are CSS layers? I’m legitimately curious.

[–] marcos@lemmy.world 3 points 1 month ago (1 children)

They change the precedence rules so that you can import large frameworks at will and not have them disrupt your rules or each other.

Basically, anything you apply in one layer has less precedence than what is applied on the next layers.

[–] dohpaz42@lemmy.world 2 points 1 month ago (1 children)

So I’m clear, are you referring to the @layer CSS at-rule? Or, something else?

[–] marcos@lemmy.world 2 points 1 month ago

Yes, I'm referring to the @layer rule.