Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent SASS parsing block of code but still output it to final css file

Tags:

css

sass

I've just started using SASS. Very impressed, however there is something I'd like to do but can't seem to find answer as whether or not it's possible.

I have a block of CSS that I don't want SASS to parse/compile but I would still like that block outputting to the final compiled CSS file. Is this possible?

Thanks.

My first ever SO question, normally provides the answer. Hope I've not missed it somewhere, tried every search term I could think of to find it.

like image 673
Paul Smith Avatar asked Apr 01 '12 13:04

Paul Smith


1 Answers

Put it in a separate .css file and import it in your SASS file. File ending in .css are not parsed but are still included in the final output.

like image 51
Maxime Fabre Avatar answered Oct 22 '22 15:10

Maxime Fabre