Bookmark and Share

Tuesday, December 13, 2011

Multiple CSS class selection

If you have two or more classes inside your HTML element you can select it using :

CSS:

.classA.classB
{
border:1px;
}

JQuery;

$(‘.classA.classB’).css(‘border’,’1px’);

No comments:

Post a Comment