Please explain the precedence of classes

i used class red-text and text-center but only the first class executes and second one doesn’t. as shown in this screenshot text-center didn’t worked. can someone explain me why ? and do i have to write all class names in a single class object ?

The correct way is class="red-text text-center".

2 Likes

thanks bro, yeah i tried it, that was working :slight_smile:

1 Like

thanks, this is what i was looking for :slight_smile: