创建一个红色警报框,指示在Bootstrap中执行危险操作
使用Bootstrap中的.alert-danger类创建一个红色警告框,指示危险操作。
您可以尝试运行以下代码来实现.alert-danger类-
示例
<!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>
<div class = "container">
<div class = "alert alert-danger">
<p>Danger!</p>
<p>Add dangerous action here...</p>
</div>
</div>
</body>
</html>热门推荐
10 聚餐朋友喝酒祝福语简短
11 对航母的祝福语简短
12 考试祝福语日文简短版
13 祖国生日祝福语简短英文
14 同事男生节祝福语简短
15 道士结婚文案祝福语简短
16 简短大气的狗年祝福语
17 春季祝福语女生文案简短
18 相恋人回去祝福语简短