中英文混排之时,中文字符之间有字间距,英文字符之间没有字间距。
This commit is contained in:
parent
35c2634a3a
commit
af637c7a6d
3 changed files with 19 additions and 1 deletions
|
@ -6,6 +6,13 @@
|
|||
// 清容器浮动
|
||||
@include clear-float();
|
||||
|
||||
// 非中文时不加间距
|
||||
letter-spacing: $letter-spacing-medium;
|
||||
@include non-cjk-block {
|
||||
letter-spacing: $letter-spacing-normal;
|
||||
|
||||
}
|
||||
|
||||
// 清容器内首尾元素外边距
|
||||
&,
|
||||
section,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue