Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
RTRMS36918y@nbamaral have u never use a css precompiler? My sympathies to you, all that extra typing, no functions, variables, loops. I can't imagine having to go back to the old days where I actually had to type out all 1400 lines.
-
@RTRMS
Well, I've been doing pages for 16 years or so, so I do have my own set of classes, layouts, resets, menus, fixes to choose from, and my own ways to override them when needed, like an extra colors.css.
So it's never 1400 lines by hand.
As for sass vs less, you certainly didn't enlightened me :) -
w0ble6238yI guess to each its own, but I find all the stuff that preprocessors like SCSS or LESS bring with them an abstraction of complexity, which CSS doesn't really have to be. Hence why I now prefer vanilla CSS with PostCSS for some level 4 functionality transpiling, e.g. :matches(.foo, .bar), :not(.foo, .bar), custom-media, etc.
-
Smort2688yWhy? Just use PHPStorm and activate filewatcher for scss files and everything works like a charm ;)
-
CSS4 is pretty much going to make pre-processors a thing of the past but prefer LESS because it's closest to vanilla.
-
w0ble6238y@nblackburn
Again, there's no such thing as CSS4. What you think is CSS4 are different levels of different modules, e.g. Color Module Level 4 (`color(red a(20%))`), Display Module Level 3 (`display: flow-root`), Selectors Level 4 (`:matches()`), etc. CSS is a language that consists of different modules that level up independently. You can go to CSSWG github and ask them yourself if you don't believe me. -
-
w0ble6238yYeah I guess you are right, Grid Layout Module 1 is CSS4 and not CSS3.1, because 1 and 4 makes total fucking sense.
That's the exact bloody reason why CSSWG went away from CSS versioning to modules instead, so they don't have to deal with this type of bullshit.
Pedantic or not. Spreading bullshit is not really beneficial to anyone especially those who are just starting.
Related Rants
Removing SASS from workflow.
undefined
wk36