Forgive me for the seemingly simple question, but here is my dilemma.
Presented below is the current html code:
<div class="col-xs-12 col-md-6 col-lg-4">
...stuff
</div>
I am wondering how to achieve the following transformation:
index.html
<div class="myClass">
...stuff
</div>
index.css
.myClass {
col-xs-12
col-md-6
col-lg-4
}
The syntax in the second part is fictional. The main point being, I want to avoid cluttering my HTML with CSS.