How to remove margins or paddings on last elements of 3 in a columns in CSS?

0 votes
104 views
added Mar 12, 2015 in CSS by anonymous

I know how to do it for first/last elements. Using :nth-child(3n+3) { margin-right: 0; }

 

 

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