We should generally avoid injecting css onto the page and keep our css in our style sheets. I would handle this by adding a class to the selector and adding that class with the appropriate styles to your stylesheet.