Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created Feb 4, 2014
Embed
What would you like to do?
Less Nesting
.jon_container {
float: left;
color: #323a13;
.border(1px,#afc945);
.gradient(#afc945, #c8da64);
.common;
span {
.my-span;
.border-dashed(1px,rgba(255,255,255,0.3));
}
.posted {
.my-posted;
span {
border: none;
}
}
}
.joyce_container {
float: right;
color: #FFF;
.border(5px,#afc945);
.common;
span {
.my-span;
.border-dashed(1px,rgba(255,255,255,0.3));
}
.posted {
.my-posted;
span {
color: black;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment