响应式网站 css reset

/* core.css v1.1 | MIT License | corecss.io */
html {
font-family: sans-serif;
font-size: 100%;
line-height: 1;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body, header, footer, main, section, div,
h1, h2, h3, h4, h5, h6, p, span, a,
blockquote, q, pre, code, ol, ul, li,
form, label, input, textarea, button,
table, tr, th, td, dl, dt, dd, hr {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
line-height: inherit;
vertical-align: baseline;
background: transparent;
}
article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section, summary {
display: block;
}
ol, ul {
list-style: none;
}
hr {
border-bottom: 1px solid #000;
}
img {
max-width: 100%;
height: auto;
vertical-align: middle;
border-style: none;
}
a, a:hover {
color: #000;
text-decoration: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
[type='color'],
[type='date'],
[type='datetime-local'],
[type='email'],
[type='month'],
[type='number'],
[type='password'],
[type='search'],
[type='tel'],
[type='text'],
[type='time'],
[type='url'],
[type='week'],
textarea {
display: block;
width: 100%;
max-width: 100%;
border: 1px solid #000;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
}
::-webkit-input-placeholder {color: #777;}
:-moz-placeholder {color: #777;}
::-moz-placeholder {color: #777; opacity: 1;}
:-ms-input-placeholder {color: #777;}
[type='reset'],
[type='submit'],
[type='button'],
button {
border: 1px solid #000;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
cursor: pointer;
}
:focus {
outline: none;
}
table {
width: 100%;
}
table, tr, th, td {
border: 1px solid #000;
border-collapse: collapse;
border-spacing: 0;
}
.row {margin: 0 auto;}
.row:before, .row:after {content: ''; display: table;}
.row:after {clear: both;}
.xs {max-width: 32rem;}
.sm {max-width: 48rem;}
.md {max-width: 64rem;}
.lg {max-width: 80rem;}
.xl {max-width: 96rem;}
.col {float: left;}
.xs-0 {display: none;}
.xs-1, .xs-2, .xs-3, .xs-4, .xs-5, .xs-6, .xs-7, .xs-8, .xs-9, .xs-10, .xs-11, .xs-12 {display: inline-block;}
.xs-1 {width: 8.3333%;}
.xs-2 {width: 16.6667%;}
.xs-3 {width: 25%;}
.xs-4 {width: 33.3333%;}
.xs-5 {width: 41.6667%;}
.xs-6 {width: 50%;}
.xs-7 {width: 58.3333%;}
.xs-8 {width: 66.6667%;}
.xs-9 {width: 75%;}
.xs-10 {width: 83.3333%;}
.xs-11 {width: 91.6667%;}
.xs-12 {width: 100%;}
@media screen and (min-width: 32em) {
.sm-0 {display: none;}
.sm-1, .sm-2, .sm-3, .sm-4, .sm-5, .sm-6, .sm-7, .sm-8, .sm-9, .sm-10, .sm-11, .sm-12 {display: inline-block;}
.sm-1 {width: 8.3333%;}
.sm-2 {width: 16.6667%;}
.sm-3 {width: 25%;}
.sm-4 {width: 33.3333%;}
.sm-5 {width: 41.6667%;}
.sm-6 {width: 50%;}
.sm-7 {width: 58.3333%;}
.sm-8 {width: 66.6667%;}
.sm-9 {width: 75%;}
.sm-10 {width: 83.3333%;}
.sm-11 {width: 91.6667%;}
.sm-12 {width: 100%;}
}
@media screen and (min-width: 48em) {
.md-0 {display: none;}
.md-1, .md-2, .md-3, .md-4, .md-5, .md-6, .md-7, .md-8, .md-9, .md-10, .md-11, .md-12 {display: inline-block;}
.md-1 {width: 8.3333%;}
.md-2 {width: 16.6667%;}
.md-3 {width: 25%;}
.md-4 {width: 33.3333%;}
.md-5 {width: 41.6667%;}
.md-6 {width: 50%;}
.md-7 {width: 58.3333%;}
.md-8 {width: 66.6667%;}
.md-9 {width: 75%;}
.md-10 {width: 83.3333%;}
.md-11 {width: 91.6667%;}
.md-12 {width: 100%;}
}
@media screen and (min-width: 64em) {
.lg-0 {display: none;}
.lg-1, .lg-2, .lg-3, .lg-4, .lg-5, .lg-6, .lg-7, .lg-8, .lg-9, .lg-10, .lg-11, .lg-12 {display: inline-block;}
.lg-1 {width: 8.3333%;}
.lg-2 {width: 16.6667%;}
.lg-3 {width: 25%;}
.lg-4 {width: 33.3333%;}
.lg-5 {width: 41.6667%;}
.lg-6 {width: 50%;}
.lg-7 {width: 58.3333%;}
.lg-8 {width: 66.6667%;}
.lg-9 {width: 75%;}
.lg-10 {width: 83.3333%;}
.lg-11 {width: 91.6667%;}
.lg-12 {width: 100%;}
}
@media screen and (min-width: 80em) {
.xl-0 {display: none;}
.xl-1, .xl-2, .xl-3, .xl-4, .xl-5, .xl-6, .xl-7, .xl-8, .xl-9, .xl-10, .xl-11, .xl-12 {display: inline-block;}
.xl-1 {width: 8.3333%;}
.xl-2 {width: 16.6667%;}
.xl-3 {width: 25%;}
.xl-4 {width: 33.3333%;}
.xl-5 {width: 41.6667%;}
.xl-6 {width: 50%;}
.xl-7 {width: 58.3333%;}
.xl-8 {width: 66.6667%;}
.xl-9 {width: 75%;}
.xl-10 {width: 83.3333%;}
.xl-11 {width: 91.6667%;}
.xl-12 {width: 100%;}
}

响应式网站css reset的更多相关文章

  1. 使用 CSS 媒体查询创建响应式网站

    简介 现今每天都有更多的手机和平板电脑问市.消费者能够拥有可想象到的各种规格和形状的设备,但是网站开发人员却面临一个挑战:如何使他们的网站在传统浏览器.手机和平板电脑浏览器上有很好的效果,如何在各种大 ...

  2. css媒体查询:响应式网站

    css媒体查询:响应式网站 媒体查询 包含了一个媒体类型和至少一个使用如宽度.高度和颜色等媒体属性来限制样式表范围的表达式.CSS3加入的媒体查询使得无需修改内容便可以使样式应用于某些特定的设备范围. ...

  3. CSS 媒体查询创建响应式网站

    使用 CSS 媒体查询创建响应式网站  适用于所有屏幕大小的设计 固定宽度的静态网站很快被灵活的响应式设计所取代,该设计可以根据屏幕大小进行上扩和下扩.利用响应式设计,无论您采用什么设备或屏幕来访问网 ...

  4. 使用Quasar设计Material和IOS风格的响应式网站

    使用Quasar设计Material和IOS风格的响应式网站 栏目: CSS · 发布时间: 8个月前 来源: segmentfault.com   本文转载自:https://segmentfaul ...

  5. Gradify - 提取图片颜色,创建响应式的 CSS渐变

    被请求的HTTP对象之间的延迟会有一个时间段,这个期间网页看起来不完整.Gradify 可以分析出图像中4个最常见的颜色,创建一个梯度(或纯色)作为图片占位符.Gradify 可以在在任何图像发现最突 ...

  6. Skeljs – 用于构建响应式网站的前端开发框架

    skelJS 是一个轻量级的前端框架,用于构建响应式站点和应用程序.让设计人员和开发人员可能够使用四个强大的组件:CSS 网格系统,响应式处理程序,CSS 的快捷方式和插件系统. 您可能感兴趣的相关文 ...

  7. IE浏览器支持响应式网站设计

    目前响应式网站设计比较流行, 下面是摘自百度百科有关响应式设计的定义. 响应式网站设计是一种网络页面设计布局,其理念是:集中创建页面的图片排版大小,可以智能地根据用户行为以及使用的设备环境进行相对应的 ...

  8. 使用Bootstrap 3开发响应式网站实践07,页脚

    页脚部分比较简单,把一个12列的Grid切分. <footer> <div class="container"> <div class="r ...

  9. 使用Bootstrap 3开发响应式网站实践06,使用ListGroup、Thumbnails展示内容

    □ ListGroup展示内容 当希望把同类型的内容以列表.区块展示的时候,ListGroup是不错的选择. <div class="col-sm-6"> <h3 ...

随机推荐

  1. CSS3之transition属性

    transition属性可直译为"过渡",主要用于检索或设置对象变换的过渡. 语法: transition:property duration [timing-function] ...

  2. MFC窗口通过OpenCV显示图片

    思路非常讨巧,就是将namedWindow创建的窗口的客户区贴到MFC的图片控件里面去,然后将剩下的窗口框架隐藏掉,代码如下: cv::Mat img = cv::imread("./tes ...

  3. Cephfs 操作输出到日志查询系统

    前言 文件系统当中如果某些文件不见了,有什么办法判断是删除了还是自己不见了,这个就需要去日志里面定位了,通常情况下是去翻日志,而日志是会进行压缩的,并且查找起来非常的不方便,还有可能并没有开启 这个时 ...

  4. Javaer 进阶必看的 RocketMQ ,就这篇了

    每个时代,都不会亏待会学习的人. 大家好,我是 yes. 继上一篇 头条终面:写个消息中间件 ,我提到实现消息中间件的一些关键点,今天就和大家一起深入生产级别消息中间件 - RocketMQ 的内核实 ...

  5. Qt For MacOs环境搭建

    使用VMWARE关于macos镜像搭建,参考https://blog.csdn.net/u011415782/article/details/78505422 关于darwin8.5.5 来安装vmt ...

  6. laravel 验证器使用

    1.前后端不分离 (form表单提交) 控制器定义验证规则 <?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Req ...

  7. 记一次容器内执行ansible命令卡住

    1.由来 最近在使用kylin_v10系统,发现当在此系统下运行的容器内执行#ansible localhost -m setup 命令会卡住不动,于是和同事一起经过如下排查最终找到解决问题的办法. ...

  8. Hadoop分布式平台搭建

    环境:CentOS 7.4 (1708  DVD) 工具:MobaXterm 一. 安装 1. 将hadoop安装包上传到/usr/local目录下,将其解压并重命名. 2. 配置hadoop的环境变 ...

  9. NPOI读写Excel组件封装Excel导入导出组件

    后台管理系统多数情况会与Excel打交道,常见的就是Excel的导入导出,对于Excel的操作往往是繁琐且容易出错的,对于后台系统的导入导出交互过程往往是固定的,对于这部分操作,我们可以抽离出公共组件 ...

  10. zabbix agent 编译安装

    zabbix 安装包下载地址 https://www.zabbix.com/download 解压好之后进入zabbix目录 执行编译安装 ./configure --prefix=/usr/loca ...