@yishak621
Posted
U should add an psudoelement like these to create overlay image..u should position the picture relatively and the after element absolutely
.container picture {
position: relative;
overflow: hidden;
}
.container picture::after {
content: "";
display: block;
width: 100%;
height: 100%;
background-color: hsl(277deg, 64%, 61%);
position: absolute;
top: 0;
left: 0;
opacity: 0.45;
filter: brightness(80%);
filter: contrast(180%);
}
Marked as helpful