Bootrap学习笔记——不定期更新


在IE浏览器中运行最新渲染模式

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

初始化移动端设备浏览显示

<meta name="viewport" content="width=device-width,initial-scale=1"> 

使IE8支持Html5元素与媒体查询

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    [if lt IE 9]
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    [endif]

1:CSS文件应放在<head>标签中,JS文件放在<body>标签的最后
2:Jquery.js必须在bootstrap之前引用
3:row必须包含在container中

posted @ 2016-07-15 11:31  ChangingFond  阅读(173)  评论(0)    收藏  举报