在 CSS 中控制字母间距

cssweb developmentfront end technology更新于 2024/9/8 0:44:17

使用 font-kerning属性来控制网页上字母的排列方式。您可以尝试运行以下代码来实现 font-kerning 属性。

示例

<!DOCTYPE html>
<html>
   <head>
      <style>
         #demo {
            font-kerning: normal;
         }
      </style>
   </head>
   <body>
      <div class = "demo">This is demo text.</div>
   </body>
</html>

相关文章


有用资源