I need help understanding an easier way to write this.
I have classes that have a number between 1-100 at the end of it. So for example:
.select1 {
You can't do it with CSS. And you shouldn't do it this way. It's the same as inline styles:
...
Bad way. You should separate your HTML layout and CSS.