@Ayoub1dev
Posted
You can also do that by setting another div* to position: absolute;
over the image.
*The div should have a transparency value like rgba()
@Arreyawn
Posted
@Ayoub1dev Hey I actually tried this method but it kinda creates more problems than it solves. I'll give it a try in one of the future projects for sure. Thanks for the time ;)
@Ayoub1dev
Posted
@Arreyawn It's a really useful method of used in the right place. But, as you said in this project it creates more problems.
An example of where it will work is when clicking the menu button, a sidebar is displayed and a black overlay is displayed.
What about the 1st method, did you try it. I have posted my solution if you would like to have a look at my code.
@Arreyawn
Posted
@Ayoub1dev Hey I just checked out your solution and it's different than what I see usually for overlays. Thanks for the suggestion!
@Ayoub1dev
Posted
@Arreyawn No problem. We are here to Help š š