Skip to content

Instantly share code, notes, and snippets.

View benbarnett's full-sized avatar

Ben Barnett benbarnett

View GitHub Profile
@simmo
simmo / _bem.scss
Last active July 24, 2017 20:35
Sass: BEM Mixins
$bem-element-separator: '__' !default;
$bem-modifier-separator: '--' !default;
// BEM: Block (New)
@mixin new($name, $description) {
/**
* #{$name}
* #{$description}
*/
.#{$name} {