zoukankan      html  css  js  c++  java
  • H5样式(个人使用)

    @*定义全局样式*@
    <style>
    body, ul, li, p, h1, h2, h3, h4, h5, h6, hr, span, form, fieldset, table, td, img, div, dl, dt, dd, input
    {
    margin: 0;
    padding: 0;
    list-style: none;
    }

    body, html
    {
    font: 14px/28px "Microsoft YaHei";
    100%;
    height: 100%;
    }


    a
    {
    text-decoration: none;
    outline: none;
    }

    img
    {
    list-style: none;
    border: none;
    display: block;
    margin: 0 auto;
    }

    ul
    {
    list-style: none;
    }

    input, select, textarea
    {
    outline: none;
    border: none;
    }

    input:focus
    {
    outline: none;
    }

    textarea
    {
    resize: none;
    }

    *
    {
    word-break: break-all;
    }

    .clear:after
    {
    content: "";
    display: block;
    clear: both;
    }

    .clear
    {
    zoom: 1;
    }

    table tr td
    {
    border: 0px solid #0b0101;
    overflow: hidden;
    }

    html
    {
    overflow-x: hidden;
    overflow-y: auto;
    }
    </style>

  • 相关阅读:
    21.扩展
    20.嵌套类型
    19.类型转换
    18.错误处理
    17.可选链
    16.ARC
    15.析构函数
    14.构造函数
    13.继承
    12.下标
  • 原文地址:https://www.cnblogs.com/Dingcps/p/10428779.html
Copyright © 2011-2022 走看看