Skip to content

Instantly share code, notes, and snippets.

View gildniy's full-sized avatar
🌏
Remote

Gildas Niyigena gildniy

🌏
Remote
View GitHub Profile
@gildniy
gildniy / mixins.scss
Created November 23, 2017 03:16
Expressive BEM mixins (for BEM and namespacing) as reference to this post using the same approach for .sass file (https://codepen.io/andersschmidt/post/expressive-bem-with-sass-part-ii-a-first-draft-of-mixins)
// ------------------------------------------------
// Expressive BEM mixins (for BEM and namespacing)
//-------------------------------------------------
//---------------------------------------------
// Creates a new, top-level Block
// --------------------------------------------
// If a type (e.g. component, module, utility)
// is given, it will auto-generate a namespaced
// class that adheres to Harry Roberts' post
@gildniy
gildniy / mixins.css
Last active November 23, 2017 02:21
Vocabulary mixins (for BEM and namespacing) as refernce to this post using the same approach for .sass file (https://codepen.io/andersschmidt/post/expressive-bem-with-sass-a-different-approach)
/* MIXINS */
.media-object {
/**/ }
.media-object__image {
/**/ }
.media-object__image--reversed {
/**/ }
.media-object__body {
/**/ }
.person {