0

Plz answer me that why need to use class after div

class

27th Mar 2019, 8:18 PM
Muhammed Redwan
Muhammed Redwan - avatar
2 Answers
+ 1
It is because you put the whole div part in a class so your div part has a name. When you want to design this div part you can call your class in an external .css file, where you can just call the class' name so css knows what to design
27th Mar 2019, 8:21 PM
gabrijel2503
0
://Class is used as a css selector, by selecting div class from css you can style your div //less https://www.sololearn.com/learn/CSS/1080/?ref=app
28th Mar 2019, 3:51 AM
Sudarshan Rai
Sudarshan Rai - avatar