css重置样式表
@charset "utf-8";
/*
Document  : CSS样式初始化
Created on : 2016. 8. 7,09:41:00
Author :
Description:
CSS样式表的初始化,全局样式设置。部分样式属性请根据具体页⾯重置其属性
导⼊⽅式:<link href="css/common.css" rel="stylesheet" type="text/css" /> */
/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,textarea,p,blockquote,th,td,input,select,textarea,button {margin:0;padding:0}  /* 初始化标签在所有浏览器中的margin、padding值 */
fieldset,img {border:0 none}  /* 重置fieldset(表单分组)、图⽚的边框为0*/
dl,ul,ol,menu,li {list-style:none}  /* 重置类表前导符号为onne,menu在HTML5中有效 */
blockquote, q {quotes: none}  /* 重置嵌套引⽤的引号类型 */
blockquote:before, blockquote:after,q:before, q:after {content:'';content:none}  /* 重置嵌套引⽤*/
input,select,textarea,button {vertical-align:middle}  /* 重置表单控件垂直居中*/
button {border:0 none;background-color:transparent;cursor:pointer}  /* 重置表单button按钮效果 */
body {background:#fff}  /* 重置body 页⾯背景为⽩⾊ */
body,th,td,input,select,textarea,button {font-size:12px;line-height:1 ;font-family:"微软雅⿊", "⿊体","宋体";color:#666} /* 重置页
⾯⽂字属性 */
a {color:#666;text-decoration:none}  /* 重置链接a标签 */css表格样式
a:active, a:hover {text-decoration:none}  /* 重置链接a标签的⿏标滑动效果 */
address,caption,cite,code,dfn,em,var {font-style:normal;font-weight:normal}  /* 重置样式标签的样式 */
caption {display:none;}    /* 重置表格标题为隐藏 */
table {width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed;}    /* 重置table属性 */
img{vertical-align:top}  /* 图⽚在当前⾏内的垂直位置 */
/* 页⾯设置 */
/* 取消a标签点击后的虚线框 */
a {outline: none;}
a:active {star:Focus=this.blur());}
/* 设置页⾯⽂字等在拖动⿏标选中情况下的背景⾊与⽂字颜⾊ */
/*
::selection {color: #fff;background-color: #4C6E78;}
:
:-moz-selection {color: #fff;background-color: #4C6E78;}
*/
/*清除浮动*/
.clear{clear: both;}
/*清除浮动--推荐使⽤*/
.clearfix:before,.clearfix:after{content: '';display: table;}
.clearfix:after{clear: both;}

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。