using css vars in attribures code example
Example: css custom properties
/* create */
:root {
--variable-name: variable-property;
}
/* use */
selector {
property: var(--variable-name);
}
/* create */
:root {
--variable-name: variable-property;
}
/* use */
selector {
property: var(--variable-name);
}