V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Can I use?
http://caniuse.com/
Less
http://lesscss.org
Cool Libraries
Bootstrap from Twitter
Jetstrap
wordsmatter
V2EX  ›  CSS

中英文混排时,请问如何设置 letter-spacing,能使中文宽松一点而英文正常,而不是中英文一起变宽松?

  •  
  •   wordsmatter · 2020-06-22 19:59:04 +08:00 · 2126 次点击
    这是一个创建于 1375 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2020-07-08 10:56:58 +08:00
    ChanKc
        1
    ChanKc  
       2020-07-07 22:55:48 +08:00 via Android
    如果执着于 letter spacing 我猜没什么办法
    但是你可以调整字体和字重来达到“看上去”宽松的效果
    wordsmatter
        2
    wordsmatter  
    OP
       2020-07-08 10:12:48 +08:00
    @ChanKc 谢谢,我也觉得是这样,有些字体感觉会好一些,有些实在是挨得太紧了,看得难受
    ChanKc
        3
    ChanKc  
       2020-07-08 10:25:18 +08:00 via Android
    @wordsmatter 不加 span 区分中英文的话应该只能这样。你在 font-family 里定义好一款中文和一款英文字体,因为中文字体不支持英文,显示英文时就会回落到英文字体上,你慢慢调整两个字体的种类和不同的字重,应该可以调到比较好的效果
    wordsmatter
        4
    wordsmatter  
    OP
       2020-07-08 10:56:58 +08:00
    @ChanKc 多谢老哥👍
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1539 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:03 · PVG 01:03 · LAX 10:03 · JFK 13:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.