Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converts scss to css [closed]

Tags:

css

sass

Does anyone know how can I convert this code to standard css? It's not working in their editor.

http://codepen.io/andymcfee/pen/eyahr

like image 814
Barbara Avatar asked Nov 30 '12 16:11

Barbara


2 Answers

If you click on the title CSS (SCSS) in CodePen (don't change the pre-processor with the gear) it will switch to the compiled CSS view.

Codepen Screenshot of Compiled Preview

like image 94
y8r Avatar answered Sep 16 '22 14:09

y8r


In terminal run this command in the folder where the systlesheets are:

sass --watch style.scss:style.css  

Source:

http://sass-lang.com/

When ever it notices a change in the .scss file it will update your .css

This only works when your .scss is on your local machine. Try copying the code to a file and running it locally.

like image 23
joshuahornby10 Avatar answered Sep 16 '22 14:09

joshuahornby10