DOMINIK SYMONOWICZ's blogs - FOREVER HUNGRY of knowledge, sarcasm, smiling, music, dancing, and food ...lots of food.
This IT blog is a collection of notes with a simple solution with an explanation, added documentation, sarcastic comment and weird example. I also write about a lesson learnt from my mistakes. A non-it blog can be found here: Dominik Symonowicz's non-IT blog and website
17 March 2014
How to add 2 classes to 1 div?
PROBLEM: You have one div and you want use 2 classes for whatever reasons . What to do ? SOLUTION: simply add space between classes name <div class="class1class2">CONTENT</div> Polite reminder: class2 will overwrite class1properties.
No comments:
Post a Comment