博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CSS初始化示例代码
阅读量:6575 次
发布时间:2019-06-24

本文共 2908 字,大约阅读时间需要 9 分钟。

CSS初始化示例代码/* css reset www.admin10000.com */body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {
margin:0; padding:0; }body {
background:#fff; color:#555; font-size:14px; font-family: Verdana, Arial, Helvetica, sans-serif; }td,th,caption {
font-size:14px; }h1, h2, h3, h4, h5, h6 {
font-weight:normal; font-size:100%; }address, caption, cite, code, dfn, em, strong, th, var {
font-style:normal; font-weight:normal;}a {
color:#555; text-decoration:none; }a:hover {
text-decoration:underline; }img {
border:none; }ol,ul,li {
list-style:none; }input, textarea, select, button {
font:14px Verdana,Helvetica,Arial,sans-serif; }table {
border-collapse:collapse; }html {
overflow-y: scroll;} /* css common */.clearfix:after {
content: "."; display: block; height:0; clear:both; visibility: hidden;}.clearfix {
*zoom:1; }

 二、第二种

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{
border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
display:block}body{
line-height:1}ol,ul{
list-style:none}blockquote,q{
quotes:none}blockquote:before,blockquote:after,q:before,q:after{
content:none}table{
border-collapse:collapse;border-spacing:0}

三、

/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {
margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;}body {
line-height: 1;}ol, ul {
list-style: none;}blockquote, q {
quotes: none;}blockquote:before, blockquote:after,q:before, q:after {
content: ''; content: none;}table {
border-collapse: collapse; border-spacing: 0;}

 

转载地址:http://mqrjo.baihongyu.com/

你可能感兴趣的文章
hihocoder 1014 Trie树
查看>>
ADO.NET笔记——使用DataSet返回数据
查看>>
【机器学习】--关联规则算法从初识到应用
查看>>
MOTO XT702添加开机音乐
查看>>
Python脚本日志系统
查看>>
B0BO TFS 安装指南(转载)
查看>>
gulp常用命令
查看>>
TCP(Socket基础编程)
查看>>
RowSet的使用
查看>>
每日一记--cookie
查看>>
WPF and Silverlight 学习笔记(十二):WPF Panel内容模型、Decorator内容模型及其他...
查看>>
FLUSH TABLES WITH READ LOCK 和 LOCK TABLES比较
查看>>
MySQL:创建、修改和删除表
查看>>
Java多线程程序设计详细解析
查看>>
IOS 7 Study - UISegmentedControl
查看>>
八、通用类型系统
查看>>
JQuery的ajaxFileUpload的使用
查看>>
Java分享笔记:使用keySet方法获取Map集合中的元素
查看>>
Java面向对象练习题之人员信息
查看>>
关于Integer类中parseInt()和valueOf()方法的区别以及int和String类性的转换.以及String类valueOf()方法...
查看>>