Adjusting Kerning in CSS

前端 未结 6 1049
死守一世寂寞
死守一世寂寞 2020-12-31 01:06

Is it possible with CSS to adjust kerning in CSS? I\'d like to be able to kern a block of text such that it will actually look like a block of text (both left and right edge

6条回答
  •  遥遥无期
    2020-12-31 01:36

    Some control on kerning can be achieved in CSS using the letter-spacing attribute.

    However, if all you need is to get "both left and right edges aligned", you might want to try using text-align: justify.

    EDIT: CSS3 defines a font-kerning property that can be used to enable or disable kerning for specific elements.

提交回复
热议问题