引导类向右拉
使用pull-right类将元素浮动到右侧。
您可以尝试运行以下代码以实现右上角类
示例
<!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-right"> Float to right </div> </body> </html>