bootstrap 4 学习笔记

一、button 颜色类

白色:btn          浅蓝色:btn btn-primary  深蓝色:btn btn-info   

绿色:btn btn-success  黄色:btn btn-warning   红色:btn btn-danger
黑色:btn btn-inverse

 

二、告警弹出框

 1 {% if msg %}
 2 <div class ="alert alert-warning alert-dismissible fade show" role="alert">
 3     <strong><center>{{ msg }}</center></strong>
 4     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
 5         <span aria-hidden="true">&times;</span>
 6     </button>
 7 </div>
 8 {% endif%}
 9 
10 <script src="/static/sw_mgmt/js/jquery.min.js"></script>
11 <script src="/static/sw_mgmt/js/bootstrap1.min.js"></script>

 

posted @ 2020-06-24 10:47  语~默  阅读(179)  评论(0编辑  收藏  举报