Using variables in CSS


Using variables in CSS

Basic usage of CSS custom properties — variables Using variables in CSS is useful and awesome. It can reduce some overlapping codes in your stylesheet, results shorten your codes throughout your stylesheet. And it also increases efficiency due to change a single line of code affects dependent codes, which means you don’t have to fix each same codes one by one with ctrl+F. What you have to do is: 1. Declare a variable at the top of your stylesheet with value 2. Apply it into your CSS code I have ...


#656c7a #속성 #변수 #web #variable #property #javascript #html #custom #css #웹

원문링크 : Using variables in CSS