Search This Blog

Saturday, June 9, 2012

CSS Pseudo-Classes


How To Use Structural Pseudo Classes and Pseudo Element Selectors


​ul li{
    display:block;
    background-color: blue;
}

ul li:nth-child(odd){background-color: red;}

No comments:

Post a Comment