Joined June 2013
·

Matthew Andersen

Lead Programmer
·
Orange, CA
·
·
·

Posted to One liner CSS trick for spacing items over 1 year ago

One that I ran across this year was instead to apply the margin on the left side, and ignore the spacing on the first item. This can be accomplished with the + selector, and has a support on IE back to 7.0.

.item+.item {
margin-left: 10px;
}

Achievements
75 Karma
0 Total ProTip Views