Skip to Content

yep()

An alias for the modernizr() mixin.

Sass February 22, 2017

Usage

Sass
yep($features)

Parameters

$features
(Required) (Map) The feature to check
Default: None

Request or provide clarification »

Examples

Sass
.element {
    @include yep(opacity, csstransforms){opacity: 0; transform: translateX(10px);}
    @include nope(opacity, csstransforms){visibility: hidden; left: 10px;}
}

Source File

This function was not found in /assets/scss/partials/_mixins.scss. Please report this error.

Override

To override or disable this, redefine the mixin/function later on, or use different class names to prevent this from targeting your element.

Sass
@mixin yep($features){
    //Write your own code here, leave it blank, or return false.
}