this post was submitted on 02 Aug 2023
66 points (100.0% liked)

Programming

13307 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago
.btn {
  @apply m-2 p-2 bg-blue text-white
}

lol, they're basically writing a CSS class with CSS rules

Why bother to even use @apply? Just write the damn CSS.

I agree.