I have a serious problem with the interpretation of css in my browser. I tried most of the solutions available here and on the internet. I Checked regedit, my header section and other...
All the time I get an error
resource interpreted as Stylesheet but transferred with MIME type application/octet-stream
<link rel="stylesheet" type="text/css" href="../src/buttons.scss" media="screen" />
<button class="success_button"> Button </button>
padding: 15px 32px;
margin: 4px 2px;
I may be wrong, but I don't think you can serve
.scss files directly to the browser. It has to be compiled down to
.css for the browser to parse/understand it. You can either compile to
.css in a build job as you develop or deploy, or I believe there is a way to have the server parse the SCSS before serving it up. But I believe that is the issue-- the browser is getting a file with the wrong extension and isn't really sure what to do with it.