博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
各大网站CSS初始化代码
阅读量:1887 次
发布时间:2019-04-26

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

  • 雅虎工程师提供的CSS初始化示例代码

    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; }
  • 腾讯官网 样式初始化

    body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{
    margin:0;padding:0} body{
    font:12px"宋体","Arial Narrow",HELVETICA;background:#fff;-webkit-text-size-adjust:100%;} a{
    color:#2d374b;text-decoration:none} a:hover{
    color:#cd0200;text-decoration:underline} em{
    font-style:normal} li{
    list-style:none} img{
    border:0;vertical-align:middle} table{
    border-collapse:collapse;border-spacing:0} p{
    word-wrap:break-word}
  • 新浪官网 样式初始化

    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;}
  • 淘宝官网 样式初始化

    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; }
  • 网易官网 样式初始化

    html {
    overflow-y:scroll;} body {
    margin:0; padding:29px00; font:12px"\5B8B\4F53",sans-serif;background:#ffffff;} div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,p{
    padding:0; margin:0;} table,td,tr,th{
    font-size:12px;} li{
    list-style-type:none;} img{
    vertical-align:top;border:0;} ol,ul {
    list-style:none;} h1,h2,h3,h4,h5,h6{
    font-size:12px; font-weight:normal;} address,cite,code,em,th {
    font-weight:normal; font-style:normal;}

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

你可能感兴趣的文章
编程中的角色选择:哪类工作角色最适合你?
查看>>
10种算法一文打尽!基本图表算法的视觉化阐释
查看>>
未来属于人工智能工程师,但成功转型不容易
查看>>
科技界“挠头”:困扰科技界可持续发展的难题
查看>>
20年后,这5种编码语言可能就消失了……
查看>>
标准出现问题,人工智能正在走向错误的方向
查看>>
如何使用Python实现最低有效位隐写术?
查看>>
湮没在赞誉之中,科学史上鲜为人知的五大“败笔”
查看>>
别再对分类变量进行独热编码!你还有更好的选择
查看>>
如果不能用Python执行机器学习,那该用什么呢?
查看>>
不论何时,互联网从业者一直幸福着~
查看>>
mysql用户口令中含有特殊字符@的情况下,如何正确链接数据库
查看>>
SpringFox接口文档API DOC
查看>>
netty优化策略
查看>>
架构师知识体系全景图
查看>>
guava中EventBus(事件总线)源码分析与使用
查看>>
程序员成神之路文章目录
查看>>
SASS软件的成熟度模型总结
查看>>
一次搞定redis使用
查看>>
最全架构设计实践方法论: 微服务
查看>>