
Brandon T. answered 05/26/19
Web Developer with 2 years of experience
Hello,
That's a good question considering it's the only web styler you ever hear about.
However, that is for a good reason. The answer in short is no. There is no alternative to CSS when programming for the web.
That being said you still have alternative ways of writing CSS that might be different enough to feel like a different language.
Instead of using vanilla CSS with your applications you can use CSS Pre-processing Programming Languages like SASS, LESS and SCSS. All 3 of these options will give you an entirely new understanding when it comes to writing CSS (or styling in general) for the web. You can use CSS in an Object Oriented way if you chose to use a CSS Pre-processing Programming Language.
Alternatively as well you could once again use Object Oriented programming with JavaScript and encapsulate all of your CSS into JavaScript classes that edit the css in code and then just have classes that inherit from the class which holds the styling you'd like them to have. This would allow you to program in the way most people are taught in Undergraduate degrees in compiled languages like C++ and Java. Of course it may get a little bit hairy to deal with as your inheritance trees become larger and larger. Using ES6 Proxy's however you can achieve multiple-inheritance that would make your life a lot easier if you chose this route.
I hope that I've helped clear that up for you a bit :)
Best,
Brandon T.