<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! --> <title>Bootstrap</title> <!-- 1.加载Bootstrap层叠样式表 --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn\'t work if you view the page via file:// --> <!--[if lt IE 9]> <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <button type="button" class="btn btn-default active">按钮</button> <button type="button" class="btn btn-success btn-sm">确定</button> <button type="button" class="btn btn-danger btn-xs" disabled="disabled">危险</button> <button type="button" class="btn btn-warning btn-lg">警告</button> <button type="button" class="btn btn-primary btn-sm" disabled="disabled">首选项</button> <button type="button" class="btn btn-info" disabled="disabled">信息</button> <a href="#" class="btn btn-default btn-lg" disabled="disabled" role="button">链接</a> <a href="https://www.baidu.com/" class="btn btn-warning disabled">转到百度</a> <!-- 加载JQuery和bootstrap核心js --> <script src="../JQ/jquery-1.12.4.min.js"></script> <script src="js/bootstrap.min.js"></script> </body> </html>
相关文章:
- bootstrap定制按钮的样式 2021-11-17
- 设置bootstrap按钮组选中状态 2021-09-17
- Bootstrap 按钮(Button)插件加载状态 2022-02-08
- bootstrap 中的按钮样式(button/a) 2021-11-17
- Bootstrap-全局css样式之按钮 2021-11-17
- bootstrap重新设计按钮样式 2022-12-23
- 按钮特效-不同的状态展示不同样式的按钮 2022-12-23
- Bootstrap模态框按钮 2021-10-29