Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include SCSS file in HTML [closed]

I dont know how to include SCSS file in my website but I have completely developed .scss file using notepad. Please let me know how to include it in my website?

like image 362
Yuvaraj Avatar asked Feb 25 '13 09:02

Yuvaraj


People also ask

Can we import SCSS in CSS?

sass or . scss file. You can also import CSS files. The @import directive imports the file and any variables or mixins defined in the imported file can then be used in the main file.

Can browser read SCSS?

Unfortunately, the features of SCSS have yet to be introduced in the CSS specs and, therefore, are not supported by browsers. To run SCSS code in a web browser, you must first convert it to CSS.


1 Answers

You can't have a link to SCSS File in your HTML page.You have to compile it down to CSS First. No there are lots of video tutorials you might want to check out. Lynda provides great video tutorials on SASS. there are also free screencasts you can google...

For official documentation visit this site http://sass-lang.com/documentation/file.SASS_REFERENCE.html And why have you chosen notepad to write Sass?? you can easily download some free text editors for better code handling.

like image 87
designerNProgrammer Avatar answered Sep 23 '22 03:09

designerNProgrammer