ITeye博客

Bootstrap组件--警告框

小丑鱼0703 · 2015-02-05 11:53 · Bootstrap · Web前端 · Markdown


    <div class="bs-docs-example">
      <div class="alert alert-block alert-error fade in">
<!--将data-dismiss="alert"添加到关闭按钮即可自动赋予某个警告框关闭的功能-->
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        <h4 class="alert-heading">Oh snap! You got an error!</h4>
        <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
        <p>
          <a class="btn btn-danger" href="#">Take this action</a>
          <a class="btn" href="#">Or do this</a>
        </p>
      </div>
    </div>

http://v2.bootcss.com/components.html#alerts

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。