创建一个默认的Bootstrap按钮
在Bootstrap中使用.btn-default类创建默认按钮。
您可以尝试运行以下代码来实现.btn-default类
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<script src = "https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
</head>
<body>
<p>Cick the below button in case of issues:</p>
<div class = "container">
<button type = "button" class = "btn btn-danger">Danger</button>
</div>
<p>Cick the below button if everything is fine:</p>
<div class = "container">
<button type = "button" class = "btn btn-default">Next</button>
</div>
</body>
</html>热门推荐
10 新人红包祝福语简短精辟
11 幼师给毕业祝福语简短
12 生日高考祝福语妹妹简短
13 下飞机祝福语简短英文
14 元宵发客户祝福语简短
15 爸妈金婚文案祝福语简短
16 新郎朋友红包祝福语简短
17 虎年五一祝福语大全简短
18 出阁宴祝福语姐姐简短