Skip to content

Instantly share code, notes, and snippets.

View d13's full-sized avatar
🚀

Keith Daulton d13

🚀
View GitHub Profile
@d13
d13 / 1-source.less
Last active August 29, 2015 14:14
LESS and BEM experiment
#BEM {
.glue(@glue, @selector, @styles) {
&@{glue}@{selector} {
@styles();
}
}
.e(@name, @styles) {
#BEM > .glue(__, @name, @styles);
}
.m(@name, @styles) {
@d13
d13 / gist:94822666b387249647d5
Created December 1, 2014 20:30
Styling console.log
console.log("%c D %c 13 %c DESIGN ", "background: red; color: white; padding: 2px", "background: blue; color: white; padding: 2px", "");