I need help regarding nth-child's

jaybird359

New Member
Was never good with nth-child, other than \[code\]:first-child\[/code\] and \[code\]:last-child\[/code\], but I need some help creating this type of layout:
ZyNxY.jpg
Each "post" will be wrapped in a div with class called \[code\].summary-item\[/code\]. I'm using a fluid layout and have my site's content width to \[code\]max-width: 1020px\[/code\].Can anyone help me out here? Much appreciated! \[code\]<div class="summary-item">First Post</div><div class="summary-item">Second</div><div class="summary-item">Third</div><div class="summary-item">Fourth</div><div class="summary-item">Fifth</div>\[/code\]
 
Back
Top