@anoshaahmed
Posted
In the future, have your headings start with H1 and so. And to your question, this is what I did:
HTML:
<div class="mainpic">
<div class="overlay"></div>
</div>
CSS:
.mainpic {
min-height: 446px;
min-width: 540px;
background: url(images/image-header-desktop.jpg) no-repeat center right / cover;
border-top-right-radius: 9px;
border-bottom-right-radius: 9px;
opacity: 0.8;
}
.overlay {
height: 100%;
width: 100%;
background: #a743d6;
mix-blend-mode: multiply;
border-top-right-radius: 9px;
border-bottom-right-radius: 9px;
}
Marked as helpful
@Jennifer1919
Posted
@anoshaahmed Thank you so much for you help!
@brodiewebdt
Posted
@Jennifer1919 As you can see there are a lot of ways to get the same thing done. I did that one a long time ago, and I would use @whoamihealay solution now. I did that in another project.
Marked as helpful
@Jennifer1919
Posted
@brodiewebdt Yeah i was surprised to see so many different solutions. Ok I'll try it out!