CSS: before,: after pseudo element content attribute Chinese garbled

Problem: CSS: before,: after pseudo-class content attribute Chinese garbled

Solution:

  • Convert Chinese to unicode encoding  webmaster tools , for example: —>\u3001
  • content: "\3001";

Note: remove the letter u

 

Transfer from: https://blog.csdn.net/m0_37285193/article/details/88057956

Published 123 original articles · Like 73 · Visit 470,000+

Guess you like

Origin blog.csdn.net/DreamFJ/article/details/98612985