zoukankan      html  css  js  c++  java
  • html重置模板

    新浪的初始化:

    html,body,ul,li,ol,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,fieldset,legend,img {
        margin: 0;
        padding: 0
    }
    fieldset,img {
        border: 0
    }
    img {
        display: block
    }
    address,caption,cite,code,dfn,th,var {
        font-style: normal;
        font-weight: normal
    }
    ul,ol {
        list-style: none
    }
    input {
        padding-top: 0;
        padding-bottom: 0;
        font-family: "SimSun","宋体"
    }
    input::-moz-focus-inner {
        border: 0;
        padding: 0
    }
    select,input {
        vertical-align: middle
    }
    select,input,textarea {
        font-size: 12px;
        margin: 0
    }
    input[type="text"],input[type="password"],textarea {
        outline-style: none;
        -webkit-appearance: none
    }
    textarea {
        resize: none
    }
    table {
        border-collapse: collapse
    }
    

    京东代码

    * {
        margin: 0;
        padding: 0
    }
    em,i {
        font-style: normal
    }
    li {
        list-style: none
    }
    img {
        border: 0;
        vertical-align: middle
    }
    button {
        cursor: pointer
    }
    a {
        color: #666;
        text-decoration: none
    }
    a:hover {
        color: #c81623
    }
    

      

  • 相关阅读:
    linux固定ip设置
    经典shell面试题
    shell学习笔记
    从tcp到netty(二)
    Mysql复习
    从tcp到netty(一)
    浏览器展示图片(非下载)- java
    异常总结
    反射获取属性值并设置属性值
    TreeMap解析
  • 原文地址:https://www.cnblogs.com/matd/p/10950710.html
Copyright © 2011-2022 走看看