using a class in sass code example
Example: scss classes
%fullimgbg {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
width: 100%;
height: 100vh;
}
.veiligheid{
@extend %fullimgbg;
background-image: url('some_img.jpg);
}
.slot{
@extend %fullimgbg;
background-image: url('some_other_img.jpg');
}