[themes] BEM compatible themes
David Landry
david at dmwl.net
Mon Oct 6 18:03:32 UTC 2014
On Oct 6, 2014, at 9:11 AM, lesleyb <lesleyb at herlug.org.uk> wrote:
> My first question is where is this in relation to SASS?
The only relation I know to SASS is that you can take advantage of SASS’ nesting. For example:
.list {
&__header { /* stuff */ }
&__item { /* stuff */ }
&--modifier { /* stuff */ }
&--modifier2 { /* stuff */ }
}
Reference: http://alwaystwisted.com/post.php?s=2014-02-27-even-easier-bem-ing-with-sass-33
---
David Landry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20141006/41975c93/attachment.html
More information about the themes
mailing list