Sass: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
==Install== | ==Install== | ||
− | * [http://mariehogebrandt.se/articles/installing-sass-and-compass-on-ubuntu/ Installing Sass and Compass on Ubuntu] | + | * 1) [http://stackoverflow.com/a/9618017/2510374 remove old ruby Remove old Ruby] |
+ | * 2) [http://mariehogebrandt.se/articles/installing-sass-and-compass-on-ubuntu/ Installing Sass and Compass on Ubuntu] | ||
+ | ** NOTE: sourceMaps are supported in the pre-release version of Sass. See [https://developers.google.com/chrome-developer-tools/docs/css-preprocessors#toc-using-css-source-maps DevTools and Source Maps]. | ||
+ | * 3) Then add this line as the last line in your .bashrc: | ||
+ | ** nano ~/.bash_profile | ||
+ | ** <code>if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi</code> | ||
* [http://www.justinnavarro.net/blog/2013/07/14/installing-sass/ Alternative - with apt-get] | * [http://www.justinnavarro.net/blog/2013/07/14/installing-sass/ Alternative - with apt-get] | ||
+ | |||
+ | ==Mixins== | ||
+ | * [https://github.com/drublic/Sass-Mixins Sass mixins for general use] | ||
[[Category: Software]] | [[Category: Software]] |
Aktuelle Version vom 23. August 2013, 21:21 Uhr
http://sass-lang.com/ - Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more.
Install
- 1) remove old ruby Remove old Ruby
- 2) Installing Sass and Compass on Ubuntu
- NOTE: sourceMaps are supported in the pre-release version of Sass. See DevTools and Source Maps.
- 3) Then add this line as the last line in your .bashrc:
- nano ~/.bash_profile
if -s "$HOME/.rvm/scripts/rvm" ; then source "$HOME/.rvm/scripts/rvm" ; fi
- Alternative - with apt-get