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

来源:互联网 发布:淘宝刷单怎么被发现 编辑:程序博客网 时间:2024/04/26 07:42

    • 2016年7月15日
      • 在IE浏览器中运行最新渲染模式
      • 初始化移动端设备浏览显示
      • 使IE8支持Html5元素与媒体查询


2016年7月15日

在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中

1 0
原创粉丝点击