diff --git a/resources/scss/layout/_block.scss b/resources/scss/layout/_block.scss index e7a718d..cb056b0 100644 --- a/resources/scss/layout/_block.scss +++ b/resources/scss/layout/_block.scss @@ -7,6 +7,11 @@ flex-direction: column; padding: 15% 10%; + + // for background images + background-size: cover; + background-repeat: no-repeat; + background-position: center center; } @media screen and (min-width: map-get($breakpoints, md))