home loop start
This commit is contained in:
29
dev/scss/components/_home-loop.scss
Normal file
29
dev/scss/components/_home-loop.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user