Sublime Forum

:root in css

#1

Hello, i am very new to coding and i chose sublime text my main editor. I have a problem in css and dont know how to fix this.

when i write :root {
-primary-color: #ff7613;
-text-color: #727171;
}

it doesnt work at all on my page. what should i do to fix this?

0 Likes

#2

This has nothing to do with Sublime Text, I suggest asking on a general web-development or CSS-specific forum.

0 Likes

#3

Try this tutorial:

And don’t bother the unfriendly response on this forum!

0 Likes