zhangxuechao

可用属性值:lighter、bold、bolder、normal和100~900(100整数倍)

normal:400

bold:700

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title></title>

        <style type="text/css">
            .p1 {
                font-weight: lighter;
            }

            .p2 {
                font-weight: 100;
            }

            .p3 {
                font-weight: bold;
            }
        </style>

    </head>
    <body>
        <p class="p1">这是个段落标签1</p>
        <p class="p2">这是个段落标签2</p>
        <p class="p3">这是个段落标签3</p>
    </body>
</html>

image

分类:

技术点:

相关文章:

  • 2021-12-10
  • 2021-10-04
  • 2021-12-10
  • 2021-12-10
  • 2021-12-20
  • 2021-12-10
  • 2022-12-23
  • 2022-01-21
猜你喜欢
  • 2022-12-23
  • 2021-12-31
  • 2021-04-24
  • 2021-11-12
  • 2021-10-20
  • 2021-12-07
相关资源
相似解决方案