Can you specify more than one css class for any HTML element?

 Posted by Virendradugar on 12/28/2009 | Category: CSS 3 Interview questions | Views: 5537
Answer:

Yes, you can. Just provide a space between both the class names.

like..

<div class="class1 class2">

</div>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response