ildi-wp/dev/scss/components/_home-loop.scss
2018-07-24 08:20:35 -05:00

30 lines
399 B
SCSS

.home-loop {
position: relative;
overflow: hidden;
a {
display: table;
min-height: 250px;
text-decoration: none;
}
h1 {
margin: $gutter;
background-color: rgba($black, 0.15);
color: $white;
}
img {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
width: 100%;
height: auto;
object-fit: cover;
}
}