As I reviewed some sample code today, I noticed the developer opted to use a "+" instead of a "," to select two classes.
.region + .region{
border-left: 1px solid lightgray;
padding-left: 3.5%;
margin-left: 4%;
}
I'm curious about what the "+" sign does that the "," doesn't. What is the purpose of using it? Also, why was the same class selected twice in this code snippet?
For those interested, here is a link to the code pen... http://codepen.io/adobe/pen/vKixh
Since I am still learning CSS3, any insights or guidance on this matter would be greatly appreciated. Thank you.