逼不得已,使用css方法如何解决,请教大家。
ringa_lee
I can only help you so far:
button:after { content: "Hellow"; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: white; }
No, CSS can only change the content in the ::before and ::after pseudo-elements.
::before
::after
You can try to use pseudo elements to cover the original elements.
Css cannot change the text inside, why don’t you use js or jquery to achieve it?
I can only help you so far:
No, CSS can only change the content in the
::before
and::after
pseudo-elements.You can try to use pseudo elements to cover the original elements.
Css cannot change the text inside, why don’t you use js or jquery to achieve it?