Answers for "how to display sass file in html"

CSS
0

include sass in html

You have to use a build tool like Gulp which will convert the SASS file to CSS file , then you just have to link the CSS file in your HTML.
What’s interesting is that you don’t have to do this everytime you make a change in your SASS file. Gulp has a watch function which monitors the SASS files for changes and generate CSS file on the fly.
To use SASS with gulp , follow this tutorial - http://ryanchristiani.com/getting-started-with-gulp-and-sass/

Aditya Agarwal
Posted by: Guest on July-05-2021
0

sass file

Sass is a popular preprocessor scripting language that gets compiled into css. 
There are 2 file extensions:
1) .scss (newer syntax, commonly used)
2) .sass (older syntax with strict indentation)
Learn More at https://sass-lang.com/
Posted by: Guest on September-04-2021

Code answers related to "how to display sass file in html"

Browse Popular Code Answers by Language