Ejemplo 1: cómo usar scss en html
/* Answer to: "how to use scss in html" */
/*
Unfortunately, you can't directly insert an SCSS (Sassy CSS) file
into your HTML. That's because SASS is a superset (or so-called
preprocessor or extension) of CSS3's syntax, which is NOT
supported by web browsers.
To take full advantage of all the incredible features offered by
SCSS in your HTML page, you’ll first have to compile it down
to CSS.
For more information, check out the answers in:
https://www.quora.com/How-do-I-insert-an-SCSS-file-into-HTML
*/
Ejemplo 2: cómo vincular scss a html
You can not "attach" a SASS/SCSS file to an HTML document.
SASS/SCSS is a CSS preprocessor that runs on the server and compiles to
CSS code that your browser understands.
https://www.javatpoint.com/sass-example
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)