CSS Variables

I am writing a userstyle skin for Twitter.
Since I have multiple elements using the same color/image I wanted to use CSS variable function ( var() ) to be able to change them easily in the beginning of the file.
But I am not very experienced with CSS yet so I wonder whether it would affect the performance of the page somehow?

Comments

  • You can safely use variables.
    Yes, they do need some more resources but usually you won't notice any performance difference.
Sign In or Register to comment.