我正在尝试使警报框在点击“x”按钮后消失,但似乎缺少某些东西导致它无法正常工作,不确定是什么原因。
<div class="alert alert-success alert-dismissible">
<button type = "button" class="close" data-dismiss = "alert">x</button>
You've done it!
</div>