I am working on moving bootstrap css out of my code.
I want to build various classes I can call from my .css (actually .scss) file.
CSS and I have always trod different paths, but I am just learning it now.
I want to build something like this in a different css class:-
<div class="well span4">
CSS
.datainput {
well; span4 #<<<<this is where I get lost.
}
Thanks
In Sass, classes are extended like this:
Which would generate output that looks like this:
If you’re using LESS, which is what TB was written in, it would look like this: