Quote:
Originally Posted by rogue_ronin
EDIT: yeah, Jellby, looks like you're right. I tried it with an image tag, too, and it doesn't work, but the header tags take it just fine. Guess you can apply the pseudo-element only to containers that hold content already. Bummer. I was hoping to keep it simple...
|
I'd say the pseudo-element :after still includes content inside the main element inside. If you use it for a styled element (like a header), does the :after content use the same style (font, color, etc.)? If it does, it confirms that it is still inside the element, although after the explicit content.