janas-luo

文字两端对齐

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    div {
      margin: 10px 0;
      width: 100px;
      border: 1px solid red;
      text-align-last: justify;
    }
  </style>
</head>

<body>
  <div>姓名</div>
  <div>手机号码</div>
  <div>验证码</div>
  <div>账号</div>
  <div>密码</div>
  <input type="checkbox">
  <input type="radio">
</body>

</html>

分类:

技术点:

相关文章:

  • 2021-10-08
  • 2021-12-01
  • 2021-11-21
  • 2021-11-21
猜你喜欢
  • 2021-12-01
  • 2021-12-01
  • 2021-12-01
  • 2021-11-09
  • 2021-11-09
相关资源
相似解决方案