Skip to content

Instantly share code, notes, and snippets.

@jacobpatton
jacobpatton / bem_question.haml
Last active December 25, 2015 19:19
I'm wondering how to best blend custom BEM objects with a framework like Inuit.css.
// Here's a `.person` containing an Inuit `.media` object
.person
.media
%img.media__img{src: "http://placekitten.com/96/96"}
%p.media__body
Bio goes here Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
// If we wanted to customize the display of the person's media object,
// what would we do???