用Bootstrap指示关闭图标
要在Bootstrap中设置关闭图标,请使用.close类。
您可以尝试运行以下代码来设置关闭图标-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div style = "width:600px;background-color:orange;">
<span>Here's the close icon</span>
<button type = "button" class = "close"><span aria-hidden = "true">&times;</span>
<span class = "sr-only">
Close icon
</span>
</button>
</div>
</body>
</html>热门推荐
10 哥哥生日礼包祝福语简短
11 家长祝福语大全简短内容
12 学生开心成语祝福语简短
13 少先队代表送祝福语简短
14 友谊晚上祝福语大全简短
15 简短朋友旅行祝福语大全
16 外婆祝福语短句唯美简短
17 孩子16岁祝福语简短
18 见证求婚文案祝福语简短