一段话里面大多数是中文,要设置每个字之间间隔为5px ,但是其中又有可能含有英文单词,如果用letter-spacing ,英文每个字母都会间隔开,用word-spacing又对中文不起作用,请问怎么办?
letter-spacing
word-spacing
业精于勤,荒于嬉;行成于思,毁于随。
Most of them are in Chinese, so use a tag to add class to wrap the English part, and add the word-soacing attribute to class
Use a letter-spacing style to wrap English words
The criterion for word-spacing is spaces...so, either add tags or spaces...
Most of them are in Chinese, so use a tag to add class to wrap the English part, and add the word-soacing attribute to class
Use a letter-spacing style to wrap English words
The criterion for word-spacing is spaces...so, either add tags or spaces...