Looking to achieve an outward border effect on an unlimited number of Divs.
Experimenting with Pseudo classes like :first-of-type and :nth-of-type(#) but facing issues as the :nth-of-type(#) is overriding the :first-of-type.
.quarter > div:first-of-type { border-right:dashed #cccccc 1px; border-bottom: dashed #cccccc 1px; padding: 10px; box-sizing: border-box; }
.quarter > div:nth-of-type(3n+1) { border-right: none; border-bottom: dashed #cccccc 1px; }
Attempting to exclude all but the first and last elements in each third row, may require jQuery. Open to suggestions for a better approach if available. :)