Friday, May 6, 2022

[FIXED] how can I add ::after or ::before to a image tag

Issue

I was doing a project and I wanted to add ::after tag (I used ::before too) for one of my images (I used img tag)but it doesn't work I don't know what should I do thank you for helping me


Solution

It is impossible to use pseudoelements with img tag. Here you can see the similar discussion



Answered By - VikDru
Answer Checked By - Cary Denson (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.