Skip to content

Instantly share code, notes, and snippets.

Keith Daulton d13

Block or report user

Report or block d13

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@d13
d13 / 1-source.less
Last active Aug 29, 2015
LESS and BEM experiment
View 1-source.less
#BEM {
.glue(@glue, @selector, @styles) {
&@{glue}@{selector} {
@styles();
}
}
.e(@name, @styles) {
#BEM > .glue(__, @name, @styles);
}
.m(@name, @styles) {
View gist:94822666b387249647d5
console.log("%c D %c 13 %c DESIGN ", "background: red; color: white; padding: 2px", "background: blue; color: white; padding: 2px", "");
You can’t perform that action at this time.