初始化CSS

作者: praycis | 来源:发表于2018-04-08 10:32 被阅读0次

yahoo

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;}

.clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
.clearfix { *zoom:1; }

taobao

 body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; } 
body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; } 
h1, h2, h3, h4, h5, h6{ font-size:100%; } 
address, cite, dfn, em, var { font-style:normal; } 
code, kbd, pre, samp { font-family:couriernew, courier, monospace; } 
small{ font-size:12px; } 
ul, ol { list-style:none; } 
a { text-decoration:none; } 
a:hover { text-decoration:underline; } 
sup { vertical-align:text-top; } 
sub{ vertical-align:text-bottom; } 
legend { color:#000; } 
fieldset, img { border:0; } 
button, input, select, textarea { font-size:100%; } 
table { border-collapse:collapse; border-spacing:0; }

sina

body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div{margin:0;padding:0;border:0;} 
body{background:#fff;color:#333;font-size:12px; margin-top:5px;font-family:"SimSun","宋体","Arial Narrow";} 
 
ul,ol{list-style-type:none;} 
select,input,img,select{vertical-align:middle;} 
 
a{text-decoration:none;} 
a:link{color:#009;} 
a:visited{color:#800080;} 
a:hover,a:active,a:focus{color:#c00;text-decoration:underline;}

相关文章

  • 移动端技术解决方案总结

    一、CSS初始化 移动端CSS初始化推荐使用normalize.css Normalize.css: 保护了有价值...

  • CSS中reset.css初始化设置

    以下几种初始化的css文件都可用normalize.css reset.css 腾讯官网初始化 新浪官网初始化 淘...

  • 一个webAPP项目的完整记录(vue)

    项目初始化 some Tips 引入外部CSS: @import "../css/base.css";引入外部J...

  • CSS初始化,浮动,外边距塌陷,定位

    css初始化代码 初始化css的目的是为了样式统一,解决谷歌浏览器和IE浏览器兼容性问题清除浮动代码和简单的初始化...

  • css常用工具封装

    CSS 1. pc-reset PC样式初始化/* normalize.css */html { line-hei...

  • 添加css样式

    初始化stylesheets变量添加css样式 首先我们需要有场景才能运用css Scene scene = ne...

  • wow.js使用教程

    设置WOW.js 1.引入css动画库 2.引入wow.js并且初始化 显示CSS动画 1.设置css类 将CSS...

  • pyquery

    初始化 字符串初始化 URL初始化 文件初始化 基本CSS选择器 查找元素 子元素 父元素 兄弟元素 遍历 单个元...

  • pyquery简介

    1. 初始化 字符串初始化 URL初始化 文件初始化 2. 基本CSS选择器 3. 查找节点 子节点 find()...

  • 4.爬虫-PyQuery库详解

    初始化 字符串初始化 URL初始化 文件初始化 基本CSS选择器 ** 如果是class加点,如果是id加#,如果...

网友评论

    本文标题:初始化CSS

    本文链接:https://www.haomeiwen.com/subject/rbrphftx.html