Bootstrap 类 pull-left


使用类pull-left将元素向左浮动。

可以尝试运行以下代码来实现 pull-left 类 −

示例

在线演示

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel="stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <div class = "pull-left">
         Float to left
      </div>
   </body>
</html>

更新于:12-6-2020

470 次浏览

开启你的职业生涯

完成课程并获得认证

开始
广告
© . All rights reserved.