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

        <!-- 新 Bootstrap 核心 CSS 文件 -->
        <link href="css/bootstrap.min.css" rel="stylesheet">

        <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
        <script src="js/bootstrap.min.js"></script>

        <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    </head>
    <body>
        <h1 class="text-left">标题1</h1>
        <h2 class="text-center">标题2</h2>
        <h3 class="text-right">标题3</h3>
    </body>
</html>
bootstrap文本对齐方式

相关文章:

  • 2021-09-05
  • 2022-01-22
  • 2021-04-22
  • 2021-11-14
  • 2021-09-27
  • 2021-11-25
  • 2021-11-17
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-12-01
  • 2021-08-20
相关资源
相似解决方案