Answer the question
In order to leave comments, you need to log in
Not applying sass styles to html?
There is a code written in .scss file
$red:red;
div{
background-color: $red;
}
div{background-color:red}
/*# sourceMappingURL=style.css.map */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="style.сss">
</head>
<body>
<div>Sass testing</div>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Network tab in console --> F5 --> CSS file loading normally?
Have you cleared the cache?
Rather, the matter is in the browser, try to clear the cache and track the loading of styles in the browser, as mentioned above.
If possible, then take off the screen from the console and the network tab (after opening the tool. Resolved and refreshing the page itself)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question