Set an arbitrary amount of CSSProperties on an object
This can set any property, including CSS Custom Properties
applyStyles(fancyButton, { "--text-color": "red", "margin": "0 auto",});@param $el The HTML element to apply styles to@param styles An object map of CSS property names to Copy
applyStyles(fancyButton, { "--text-color": "red", "margin": "0 auto",});@param $el The HTML element to apply styles to@param styles An object map of CSS property names to
Set an arbitrary amount of CSSProperties on an object