danielguillan / bem-constructor

A Sass library for building immutable and namespaced BEM CSS objects
MIT License
543 stars 32 forks source link

Feature 3: Visual debugging #14

Closed danielguillan closed 9 years ago

danielguillan commented 9 years ago

Add a visual debugger mixin that adds an outline to target elements.


Available targets are:

Usage:

@include bem-debug($targets...)

Example:

@include bem-debug('modifiers', 'components'); // Outlines all modifiers and components

Use it empty to outline all target types: @include bem-debug();