From 3a70a9b88e891083bdb8a2123722e6339261b840 Mon Sep 17 00:00:00 2001 From: bakum-bicum Date: Thu, 15 Sep 2022 01:06:18 -0300 Subject: [PATCH] Adiciona placeholder para as imagens de fundo --- src/scss/base/_mixins.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scss/base/_mixins.scss b/src/scss/base/_mixins.scss index efd83c1..70013ea 100644 --- a/src/scss/base/_mixins.scss +++ b/src/scss/base/_mixins.scss @@ -7,6 +7,12 @@ transform: translate(-50%, -50%); } +%bg-img { + background-position: center center; + background-size: cover; + background-repeat: no-repeat; +} + @mixin display-button($bg-color, $color) { background-color: $bg-color; color: $color;