/** * hero * * background-position is as default: cover * *
* * * @author Björn Hase * */ @mixin crispy__hero() { .hero { background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; &--top { background-position: top center; } &--bottom { background-position: bottom center; } &--contain { background-size: contain; } } }