I found SASS and sounds great that you can use variables, make code cleaner, etc... But, I see it's for Ruby on Rails.
Is there a way to make it work just with HTML as if it was CSS? If it's not possible is there something similar out there?
Thanks!
(btw I'll be using php)
You can use SASS anywhere, providing that you've got ruby installed. It doesn't have to be a Ruby on Rails project, you just need to install the SASS gem.
See - http://sass-lang.com/tutorial.html
Alternatively there are other CSS pre-processors such as LESS and Stylus that are compiled using node.js rather than ruby.
LESS - http://lesscss.org/
Stylus - http://learnboost.github.com/stylus/
They each provide similar functionality, but with slightly varying syntax.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With