0
Any idea on how to use two classes on <div>
HTML
2 Respuestas
+ 1
Multiple classes, no, but multple class names, yes,
Eg;
You cannot assign two class attrs on one div like this :
<div class="mydiv" class="myDiv2">
But you can assign two or more class names to a single div like this:
<div class="mydiv myDiv2">
happy coding 😊 Keep coding 🙏
0
Thnks for the answer mahn