设置浅灰色轮廓的Bootstrap 4按钮
要在浅灰色的按钮上设置轮廓,需要在Bootstrap中使用btn-outline-light类。
将该类用作-
<button type="button" class="btn btn-outline-light"> Sample </button>
您可以尝试运行以下代码以实现btn-outline-light类-
示例
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/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.0/js/bootstrap.min.js"></script>
</head>
<body>
<h2>Demo Button</h2>
<p>A light colored button is visible below:</p>
<button type="button" class="btn btn-outline-light">
Sample
</button>
</body>
</html>热门推荐
4 狗狗请人训练
5 训练狗狗迎宾
6 训练狗狗解放
7 抬头训练狗狗
10 训练狗狗的基本动作
11 两个月狗狗怎么训练大小便
12 教狗狗训练
13 记叙文训练狗狗
14 潮州训练狗狗
15 训练狗狗叫的方法
16 猫训练狗狗
17 狗狗训练如厕
18 狗狗来训练