<section class="html_block">
<div class="hero-background">
</div>
<div class="hero-content">
<div class="hero-main-content">
<h1>Meet every moment</h1>
<div>Plan with purpose for every opportunity – find out your marketing style and learn the essentials for leading the way with authentic experiences.</div>
</div>
</div>
</section>
.html_block {
padding-top: 80px;
padding-bottom: 80px;
position: relative;
z-index: 1;
}
.hero-background {
background-image: url("https://wwwsitecorecom.azureedge.net/-/media/sitecoresite/images/home/_/hero-v2/sitecore-home-hero-v01-052722_72dpi-small.jpg?md=20220627T131729Z");
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
z-index: -1;
}
.hero-content {
display: flex;
justify-content: flex-start;
padding-left: 10%;
}
.hero-main-content {
box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%),
inset 0 0 200px rgb(255 255 255 / 30%);
border-radius: 5px;
position: relative;
z-index: 1;
background: #f6f6f629;
overflow: hidden;
-webkit-backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
color: #ffffff;
width: 400px;
padding: 2em 3em;
}
h1 {
font-size: 2.5rem;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.