我正在尝试使用 Twitter Bootstrap 创建一个详细介绍 Minecraft 服务器统计信息的网站,以便我的用户知道哪个服务器在线。但是,当我在 Twitter Bootstrap 中使用警报组件时,我无法解除警报。这是我的代码:
<!DOCTYPE html>
<title>Dillon's Minecraft Servers</title>
<ul class="nav nav-tabs">
<li><a href="index.htm">Home</a></li>
<li class="active"><a href="#">Vanilla</a></li>
<li><a href="ftb.htm">Feed the Beast</a></li>
<li><a href="bigdig.htm">Big Dig</a></li>
</ul>
<div class="hero-unit">
<h2>Vanilla</h2>
<p>The Vanilla server runs just plain Minecraft. It has some advanced features like Mob Arenas, anti-cheat, and MMO-like leveling.</p>
</div>
<div class="alert">
<a href="#" class="close" data-dismiss="alert">×</a>
<strong>Warning!</strong> This server is currently offline.
</div>