this post was submitted on 30 Sep 2025
334 points (97.7% liked)

Programmer Humor

29989 readers
1462 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 4 months ago (1 children)

Learn CSS layers, use CSS layers.

What are CSS layers? I’m legitimately curious.

[–] marcos@lemmy.world 3 points 4 months 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 4 months ago (1 children)

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

[–] marcos@lemmy.world 2 points 4 months ago

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