Hi this si css selector for li
li:nth-child(2n)
{
background:#ff0000;
}
Selector Exp
li:nth-child(odd)
li:nth-child(even)
li:nth-child(3n+0)
li:first-child
after and before
li:after
li:before
li:nth-child(2n)
{
background:#ff0000;
}
Selector Exp
li:nth-child(odd)
li:nth-child(even)
li:nth-child(3n+0)
li:first-child
after and before
li:after
li:before
No comments:
Post a Comment