@iHarryD
Posted
You shouldn't use that technique to create overlays, instead use before/after pseudo elements.
Marked as helpful
@CoderPr0
Posted
@iHarryD Alright, thank you. I'll look into it and make changes. Btw could you let me know why this technique shouldn't be used?
@iHarryD
Posted
@CoderPr0 Using before/after pseudo elements to create overlays is just more efficient and requires lesser code. You wouldn't need to create an external container to contain the images.
Marked as helpful
@CoderPr0
Posted
@iHarryD Ok I get it now, thx man.