html more than one class code example
Example 1: html add two classes
<a href="#" class="class1 class2">My Text</a>
Example 2: more than one class css
If you want two classes on one element, do it this way:
<div class="social first"></div>
Reference it in css like so:
.social.first {}
Example 3: how to write 2 class in html
<div class="nav nav-centered nav-reversed navbar navigation-block"></div>
Example 4: more than one class in div
<!-- You can use multiple classes per element if you simply put spaces between the names: -->
<div class="c1 c2"> This div has two classes </div>