I am getting an error while writing the CSS file using SCSS
The error is as follows:
Error: Function RGB is missing in argument $green.
on line 116 of sass/c:\Users\User\Desktop\This PC\style.scss
>> background-color:RGB(111 197 236 / 49%);
The HTML and SCSS code are mentioned below:
.header-hover:hover{
background-color: rgb(111 197 236 / 49%);
}
<i ></i>
I had used font awesome to get the icons.
CodePudding user response:
sass hasn't yet caught up to the new standard so try to use rgba(111, 197, 236, 0.49);
instead of rgb(111 197 236 / 49%)