3 ms·
Oh, didn't notice that. The specification actually does not explicitly prohibit pseudo content on replaced elements. This specification does not fully defi
by jacobr 14y ago
Oh, didn't notice that. The specification actually does not explicitly prohibit pseudo content on replaced elements.
This specification does not fully define the interaction of :before and :after with replaced elements (such as IMG in HTML). This will be defined in more detail in a future specification.
http://www.w3.org/TR/2011/REC-CSS2-20110607/generate.html#before-after-content http://www.w3.org/TR/2011/REC-CSS2-20110607/generate.html#be...
In my opinion it would be cool if all browsers supported it.