Uncaught SyntaxError: Unexpected token '.' inside scss file
1. I was defining the mix file in the css using script tag
2. I was getting the same error because i just used the property of css by
defining the same styles to 2 element class in scss file.
Example : .login-box, .register-box{ width: auto }
There are two solutions :
1. make seperate styles for both elements Like :
.login-box{ width: auto }
.register-box{ width: auto }
2. Or you can use the scss property
div, h2, p {
&.class1 {}
}
Also in CSS:
- putting label on top of input css
- media types in css
- css background image responsive
- css grid tutorial
- center div css flex
- font awesome cdn
- vertical align h1 inside div
- remove arrows from input type number
- how to align an image left in css
- css dropdown
- default font family css
- pourquoi mon css ne fonctionne pas quand je recharge la page
- npm 'cross-env' is not recognized as an internal or external command
- simple font-face mixin scss
- comment css
- css doesnt update
- html static background
- css scaling border radius
- css onclick change color
- css calc height
- css clear both
- customize highlight color website
- typescript not supporting scss
- large input box bootstrap 4