Home > Blockchain >  variables in css does not apply to the html
variables in css does not apply to the html

Time:10-14

I am building a simple responsive land-page for personal pruposes, but mu CSS variables are not apllied, even if I call them and declare them on the :root{}

some SS for my code

Code Web

I'm working with python flask...

CodePudding user response:

Changing in css doesn't affect your html.. you have to open host link in incognito mode or you have to clear cache of the browser

CodePudding user response:

CSS custom property values should not be wrapped in parentheses when you declare them.

Try removing the parentheses:

--sideMenus: #5a628f;
--bakcgroundColor: #353b5c;
  • Related