Select CSS based on multiple classes
Posted
by Stacey
on Stack Overflow
See other posts from Stack Overflow
or by Stacey
Published on 2010-03-31T16:50:35Z
Indexed on
2010/03/31
16:53 UTC
Read the original article
Hit count: 241
css-selectors
I have a style rule I want to apply to a tag when it has TWO styles. Is there any way to perform this without javascript? In other words..
<li class='left ui-class-selector'>
I want to select only if the li has both 'left' and 'ui-class-selector' classes applied.
© Stack Overflow or respective owner