WIP
This commit is contained in:
32
src/scss/flex-background-image-cta.scss
Normal file
32
src/scss/flex-background-image-cta.scss
Normal file
@@ -0,0 +1,32 @@
|
||||
.background-image-cta {
|
||||
padding: 5rem 0;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
@extend .headline-xl;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 27px;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user