bootstrap语法

一、bootstrap的目录结构:

     bootstrap

         {css/

           js/

          fonts/

         }

二、引用文件:

    1.初始化移动浏览显示(宽度等于设备的宽度):

      <meta name="viewport" content="width=device_width,initial_scale=1.0">

    2.支持IE,在IE上运行最新的渲染模式;

  <meta http-equiv="X-UA-compatible"content="IE=edge"

    3.<link rell="stylesheet" herf="./css/bootstrap.min.css"

    4.<script src="./js/jquery-1.11.2-min.js"></script>

    5.<script src="./js/bootstrap.min.js></script>

三、栅格式布局法:

      手机                        平板                       桌面                       超宽桌面

     <768px                        >768px                  >992px                  >1200px

    .col-xs-                        .col-sm-                 .col-md-                     .col-lg-

原文地址:https://www.cnblogs.com/xingxing88/p/5879285.html