使用类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>