Bootstrap btn-toolbar 类
使用 btn-toolbar 类在 Bootstrap 中设置按钮工具栏。
你可以尝试运行以下代码来部署 btn-toolbar 类 -
示例
<!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 = "btn-toolbar" role = "toolbar"> <div class = "btn-group"> <button type = "button" class = "btn btn-default">MCA</button> <button type = "button" class = "btn btn-default">BCA</button> </div> <div class = "btn-group"> <button type = "button" class = "btn btn-default">MBA</button> <button type = "button" class = "btn btn-default">MS</button> </div> </div> </body> </html>
广告