+ 3
why is .obj::after not showing?
code: https://codepen.io/AlexTAG/pen/vYgVLgW?editors=1100 For some reason the .obj::after does not show. Help
1 Réponse
+ 4
FYI ::before and ::after
Don't work on <img>s as they don't contain text they are made for images as its name tells
Do for that you can just wrap your images in a <div> and put the image in it and then use ::after on that div 👍
You would have got the answer if you searched it on Google 👍
A stackoverflow article explains the same
https://stackoverflow.com/questions/5843035/does-before-not-work-on-img-elements