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
-
Yes. Always. For the projects I do, a css pre-processor would not be of great benefit. Its only a matter of time before variables are supported in CSS making pre-processors largely redundant. Their good for brieser prefixes though.
-
i use http://stylus-lang.com/ because i'm lazy and don't like to type too much.
hey by the way....
did you read about the new css custom properties (variables)? what do you guys think about it?
https://developer.mozilla.org/en-US... -
strider6858yI am new to web development and I didn't know that something like preprocessing existed :D
@heyheni
thx for sharing, sounds legit to me :) -
JTBringe6098y@strider SASS actually has two ways of writing CSS: SASS and SCSS. I prefer SCSS.
Here's a comparison of the two syntaxes, and some info on what SASS can do: http://sass-lang.com/guide -
JTBringe6098y@helloworld I'd use a preprocessor just to be able to write nested styles in stead of having to type out classnames a gazillion times.
-
Phlisg25248y@JTBringe ++ for nesting rules, as well as functions or mixins. Makes it also easier to create "object-oriented" styling. Just need to be careful with specificity though
-
lb131798yI prefer writing my own CSS, but I haven't had to work on anything giant. I can see how preprocessors can come in handy.
-
post-css is all you need but if i had to choose then it would be LESS because is the closest to CSS.
-
@helloworld do your projects have to support older browsers? variables might be supported in CSS soon, but lots of projects need at least ie11 support 😯😯
-
@SamOrSomething if you have to support older browsers, check out www.postcss.org like @nblackburn sugested. It's plugins polyfill many things.
-
w0ble6288yPostCSS all the way. Write as much future vanilla CSS as possible, transpile using plugins, remove plugins when support becomes wide enough.
SCSS and LESS are good at abstracting complexity with all the loops, ifs and thens, which I believe is not a good thing at all. How's writing less and outputting more ever a good thing? -
@heyheni I try, but working a corporate environment as a junior, i can't change the process xD
Related Rants
CSS was pain until I met SASS. Does actually anyone use just CSS in their projects?
undefined
css
cascading style sheet
sass