设置浅灰色轮廓的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>热门推荐
10 给导师送花祝福语简短
11 日常祝福语简短语客户
12 怎样给人送祝福语简短
13 租房明天搬家祝福语简短
14 表妹结婚祝福语简短藏语
15 打游戏通关祝福语简短
16 结婚祝福语亲姐姐简短
17 简短的高考祝福语精选
18 横幅元旦祝福语大全简短