一段话里面大多数是中文,要设置每个字之间间隔为5px ,但是其中又有可能含有英文单词,如果用letter-spacing
,英文每个字母都会间隔开,用word-spacing
又对中文不起作用,请问怎么办?
大家讲道理2017-04-17 11:53:44
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
大家讲道理2017-04-17 11:53:44
The criterion for word-spacing is spaces...so, either add tags or spaces...