Images
Variables
None
Mixins
bg-image $url
Parameters
$url
(optional) - String; path to the background image
Usage
.bg-image {
@mixin bg-image /path/to/file;
}
Output
.bg-image {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-image: /path/to/file;
}
Helpers
.bg-image
Example
<div class="bg-image"><div>