相关推荐:《bootstrap教程》
关闭按钮为 <button> 或 <a> 元素添加 .close 类,就会为它赋予一个象征关闭的图标,点击图标,就可以让模态框和警告框消失。如:
<button type="button" class="close" aria-label="close"><span aria-hidden="true">×</span></button><a class="close"><span aria-hidden="true">×</span></a>效果如图 2‑82所示:
图2-82 关闭按钮
更多编程相关知识,请访问:编程视频!!
以上就是浅谈bootstrap中的close类--关闭按钮的详细内容。