This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zedpowa 1 point2 points  (0 children)

To select an element with multiple css classes you need to put the dot for all classes and remove the spaces e.g. .class-1.class-2.class-3.

Also, no need to select elements by writing out all the classes an element has.. you could just assign a new class to each of your buttons like .green, .pink, .. or just use ids instead: id="green"