Skip to Content

print()

A shortcut for print media queries.

Sass February 22, 2017

Usage

Sass
print()

Parameters

This function does not accept any parameters. Is this incorrect?

Examples

Sass
.element {@include print(){background: red;};}

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 print(){
    //Write your own code here, leave it blank, or return false.
}