Skip to Content
Menu

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;}
}
Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    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.
    }