Coffeekraken.io 0.0.1

s-selector-method

Return the selector method define at the top level with the the [../mixins/_s-selector-method.scss] mixin

Name Type Description Status Default
$default { String } The selector method to return if no top selector method exist optional settings.selector.method

Return { String } The selector method

Example

    s-selector-method() // => settings.selector.method
s-selector-method(BEM) // => BEM
@include s-selector-method(SMACCS) {
        s-selector-method(BEM) // => SMACCS
        @include s-selector-method(WEBCOMPONENT) {
            s-selector-method() // => SMACCS
        }
}

Author : Olivier Bossel olivier.bossel@gmail.com;