As more presentational html properties get deprecated the natural response for me was to make single property CSS classes such as .text-align-left{text-align:left}. My question is, is this preferred versus inline styles?
Stackoverflow actually uses quite a bit of inline styles.
PS: I know this isn’t really a coding question and it is likely to incite debate but stackoverflow is the largest stack exchange for code and this question does have some use for future individuals.
regardless of the reasons why inline styling is used or not on stackoverflow.com, it is in general a bad practice as it makes maintenance a pain.
however single property, utility classes like the one you have mentioned, are quite verbose.