When using this code at the top of a CSS file, a pink circle pops up at the webpage stating "2:2: Expected RBRACE at line 2, col 2."
:root {
--mySize:50px;
}
The double-dash seems to be the problem. The major annoyance is that after using these variables, the auto-updating of the website breaks completely, until the double-dashes have been removed.
When using this code at the top of a CSS file, a pink circle pops up at the webpage stating "2:2: Expected RBRACE at line 2, col 2."
The double-dash seems to be the problem. The major annoyance is that after using these variables, the auto-updating of the website breaks completely, until the double-dashes have been removed.