CSS cs2css3的重置CSS和基本CSS
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS cs2css3的重置CSS和基本CSS相关的知识,希望对你有一定的参考价值。
@charaset "UTF-8";
/* ReCSS */
html,body
{ font-size:16px;
font-family:Arial,helvetica,"MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3";}
html,body,h1,h2,h3,h4,h5,h6,li,dl,dt,dd
{ margin:0;
padding:0;
font-size:100%;}
img {border:none;}
a
{ outline:none;
color:#009;}
a:hover {color:#009;}
ol,ul
{ margin:0;
padding:0 0 0 2em;}
table
{ border-collapse:collapse;
border-spacing:0;}
p
{ margin:0 0 1em;
padding:0;}
.cancel {clear:both;}
.clearfix::after
{ content:".";
height:0;
display:block;
visibility:hidden;
clear:both;}
.clearfix {min-height:1%;}
* html .clearfix {height:1%;}
hr
{ visibility:hidden;
margin:0;
clear:both;}
.alpha
{ opacity:.8;
filter: alpha(opacity=80);
-ms-filter: alpha(opacity=80);}
/* frame */
#wrapper {margin:0 auto;
width:900px;
background:url(img/);}
#header {}
#footer {clear:both;}
address ,
.vcard {margin:0;
padding:10px 0;
font-size:12px;
font-weight:700;
font-style:normal;}
/* outline */
/* According to the Extention icon View */
.iconpdf ,
.iconxls ,
.icondoc ,
.iconmail ,
.extlink {padding: 5px 15px 5px 0;
background-position:100% 50%;
background-repeat:no-repeat;}
.iconpdf {background-image:url(../icon/icon_pdf.png);}
.iconxls {background-image:url(../icon/icon_xls.png);}
.icondoc {background-image:url(../icon/icon_doc.png);}
.iconmail {background-image:url(../icon/icon_mailto.png);}
.extlink {background-image:url(../icon/icon_external.png);}
/* Always written on the bottom */
br {*letter-spacing:0;}
以上是关于CSS cs2css3的重置CSS和基本CSS的主要内容,如果未能解决你的问题,请参考以下文章
CSS 基本CSS框架 - 重置,文本
text 用于在网页中重置CSS的基本CSS
关于reset.css的重置默认样式最基本的写法(自己用)
CSS 埃里克迈耶css重置和其他必要的CSS
css重置样式表reset.css和normalize.css
css重置样式表reset.css和normalize.css