You just create another class. Or you use "style" attribute if it's not worth for defining a class. This is what cascading styles (css) stand for.
You have a lot of options and definitely using a different class for each style attribute (what tailwind or bootstrap utilities do) is not one of them.