While attempting to compile my sass code, I encountered the following error message regarding a syntax issue:
/* {
"status": 1,
"file": "C:/Users/faido/Desktop/Productivity/sass
css/project/sass/main.sass",
"line": 36,
"column": 9,
"message": "Invalid CSS after \"...inear-gradient(\": expected selector,
was \"{\"",
"formatted": "Error: Invalid CSS after \"...inear-gradient(\": expected
selector, was \"{\"\n on line 36 of sass/main.sass\n>>
linear-gradient( {\n\n --------^\n"
}
*/
The specific code that triggered this error is as follows:
.header
background-image: linear-gradient(
to right bottom,
rgba( $color-primary-light, 0.8 ),
rgba( $color-primary-dark, 0.8 )
),
url(../img/hero.jpg)
If anyone can offer any guidance or assistance with resolving this issue, it would be greatly appreciated.