Impossible To Add Pseudo Element To Canvases?
So, I'm currently developing a map editor for a HTML5 game, and while doing so, I wanted to add some pseudo elements to canvases containing thumbnails for building blocks. But afte
Solution 1:
Replaced elements (such as canvas and img) do not currently work with pseudo-elements.
Note. This specification does not fully define the interaction of
:beforeand:afterwith replaced elements (such asIMGin HTML). This will be defined in more detail in a future specification.
Post a Comment for "Impossible To Add Pseudo Element To Canvases?"