by graylien on 7/21/24, 2:13 AM with 1 comments
by lofaszvanitt on 7/21/24, 4:06 AM
Cut the bloat, what is this mongrelified thing?
background-color: if(style(--weather: clouds) ? var(--clouds-color): var(--default-color));
I tell you what it is. it is Holy shit level bullshit!
Okay let's see another example.
Conjured by some alien lifeform:
width: if(media(width > 1200px) ? var(--size-l): var(--size-m));
What about a semblance of sanity:
width: if (media:width > 1200px) ? $size-l: $size-m;
Much more readable isn't it? Strive for something like this please, don't make css look like a Silent Hill monster.