I have a div containing an image with the results from my database, carefully designed and positioned within each div. However, I would like to highlight certain results by overlaying them with a color.
I am seeking a method to achieve this effect without adding another div on top of the existing one.
Unfortunately, using background styling will not work due to the image having a higher z-index than the div itself.
My goal is to implement this feature simply with CSS, as I will be retrieving the necessary properties from a database query and applying relevant classes to the result rows.
Any creative ideas would be greatly appreciated! :)
Thank you in advance.