▲ 18 ▼ Moving away from Tailwind, and learning to structure my CSS (jvns.ca) submitted 5 months ago by codeinabox@programming.dev to c/css@programming.dev 4 comments fedilink hide all child comments
[–] Dirk@lemmy.ml 5 points 5 months ago (3 children) Good to see this kind of articles. Nowadays there are no real reasons anymore for CSS preprocessors. permalink fedilink source hideshow 3 child comments replies: [–] meowmeow 3 points 5 months ago (2 children) $colors: ( primary: blue, danger: red ); @each $name, $color in $colors { .text-#{$name} { color: $color; } } Although, rarely used in such a simple example. permalink fedilink source parent hideshow 2 child comments replies: [–] Dirk@lemmy.ml 1 point 5 months ago (1 child) Yeah, it’s sad. People forgot how to use CSS properly. permalink fedilink source parent hideshow 1 child comment replies: [–] meowmeow 1 point 5 months ago There was (and still is) definitely a push when sass came out to make everything “easier” by making it more complex. permalink fedilink source parent
[–] meowmeow 3 points 5 months ago (2 children) $colors: ( primary: blue, danger: red ); @each $name, $color in $colors { .text-#{$name} { color: $color; } } Although, rarely used in such a simple example. permalink fedilink source parent hideshow 2 child comments replies: [–] Dirk@lemmy.ml 1 point 5 months ago (1 child) Yeah, it’s sad. People forgot how to use CSS properly. permalink fedilink source parent hideshow 1 child comment replies: [–] meowmeow 1 point 5 months ago There was (and still is) definitely a push when sass came out to make everything “easier” by making it more complex. permalink fedilink source parent
[–] Dirk@lemmy.ml 1 point 5 months ago (1 child) Yeah, it’s sad. People forgot how to use CSS properly. permalink fedilink source parent hideshow 1 child comment replies: [–] meowmeow 1 point 5 months ago There was (and still is) definitely a push when sass came out to make everything “easier” by making it more complex. permalink fedilink source parent
[–] meowmeow 1 point 5 months ago There was (and still is) definitely a push when sass came out to make everything “easier” by making it more complex. permalink fedilink source parent
all 4 comments