问题
i'm creating text with css :after. But I'm not able to select the resulting text (e.g. for copy&paste). is it possible to make it selectable?
<div>foo</div>
div:after{
content: ' 123';
}
sample
回答1:
As far as I know, this has been a long-running issue that is still not resolved. This bug thread, which is still current, goes back to 1999!
https://bugzilla.mozilla.org/show_bug.cgi?id=12460
来源:https://stackoverflow.com/questions/16851781/how-to-make-text-created-with-css-after-element-selectable