css chain selectors

Posted by user1588858 on Stack Overflow See other posts from Stack Overflow or by user1588858
Published on 2012-10-14T03:30:35Z Indexed on 2012/10/14 3:36 UTC
Read the original article Hit count: 72

Filed under:
|

both this structure comes in same page how to target this div in css only difference is ul class....

i wanted to give two different border colors yellow and pink color this div

http://jsfiddle.net/LWutU/5/

zpass-current

<ul class="zpass-current zpass-homepage logo-med-whttxt clearfix">
    <li>
        <a href="">
            <div class="entitlement">
                <div id="box_go">
                </div>
            </div>
        </a>
    <li>
</ul>

zpass-header

<ul class="zpass-header zpass-homepage logo-med-whttxt clearfix">
    <li>
        <a href="">
            <div class="entitlement">
                <div id="box_go">
                </div>
            </div>
        </a>
    <li>
</ul>

© Stack Overflow or respective owner

Related posts about html

Related posts about css