CSS Tricks - Two classes together

Two classes together

Usually attributes are assigned just one class, but this doesn't mean that that's all you're allowed. In reality, you can assign as many classes as you like! For example the paragraph calls up the rules assigned to both text and side.

<p class="text side">...</p>

Site Meter