how i can import my scss file into html page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how i can import my scss file into html page?

for .scss

26th Jan 2020, 8:38 PM
mohammadreza
mohammadreza - avatar
4 Answers
+ 4
@import _filename; @import "variables"; @import "colors"; you can't @import your scss file into HTML page you import in your css... https://www.quora.com/How-do-I-insert-an-SCSS-file-into-HTML
26th Jan 2020, 9:52 PM
BroFar
BroFar - avatar
+ 3
there are two meanings. if you mean using scss in Sololearn code playground, you need to include the library https://code.sololearn.com/WX5I0OwuD1Js/?ref=app if you mean using scss in production, install Node.js and install the module to generate result css files.
26th Jan 2020, 11:45 PM
Gordon
Gordon - avatar
+ 2
Gordon thanks for a better answer as I always get stuck bouncing between languages and scss / sass methods
26th Jan 2020, 11:49 PM
BroFar
BroFar - avatar
+ 1
BroFar 🤝
27th Jan 2020, 4:07 AM
Gordon
Gordon - avatar