tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
li:nth-child(even) { /* Selects only even elements */
color: green;
}
li:nth-child(odd) { /* Selects only odd elements */
color: green;
}
Code Example |
---|
Css :: font awesome after css |
Css :: input form shadow active bootstrap |
Css :: media query |
Css :: css display table row gap |
Css :: slick margin between slides |
Css :: tachar texto css |
Css :: How to prevent text overflow |
Css :: place item center in css using grid |
Css :: css hover to disable |
Css :: css ellipsis max width |
Css :: ul no indent |
Css :: use woff2 font in css |
Css :: css perfect box shadow |
Css :: @media screen and (max-width 600px) not working |
Css :: change mat icon size |
Css :: hiden file upload button css |
Css :: inline style background image |
Css :: bootstrap media queries |
Css :: center a class css |
Css :: html make text not highlightable |
Css :: center div in tailwind css |
Css :: responsive media qurries |
Css :: install cors |
Css :: textarea only one line |
Css :: hover button scss |
Css :: nunito |
Css :: limit text size |
Css :: How do center using margin |
Css :: css media queries pc and mobile |
Css :: how to make a div fill the screen |