CSS - Styling 3rd item in the ol, ul list

0 votes
192 views
added Apr 23, 2020 in CSS by lcjr First Warrant Officer (11,930 points)
li:nth-child(3n) {
// Styling for every third element here.
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...