twitter.com/digitaldonkey09
thorsten.krug@donkeymedia.eu
SMACSS
BEM
SMACSS
BEM
// Button
//
// Your standard button suitable for clicking.
//
// :hover - Highlights when hovering.
// :disabled - Dims the button when disabled.
// .primary - Indicates button is the primary action.
// .smaller - A little bit smaller now.
//
// Markup:
// <button class="button {{modifier_class}}">
//
// :hover - Highlight the button when hovered.
//
// Styleguide 1.1
.button {
...
&.primary {
...
}
&.smaller {
...
}
&:hover {
...
}
&:disabled {
...
}
}
BrowserSync Demo Video
http://quick.as/az3sxrb
* http://sassbreak.com/ruby-sass-libsass-differences/
twitter.com/digitaldonkey09
thorsten.krug@donkeymedia.eu
https://www.drupal.org/sandbox/digitaldonkey/2599668