zoukankan      html  css  js  c++  java
  • 常用的body和通用css设置

    body{
        min-width: 320px;
        width: 15rem;
        margin: 0 auto;
        line-height: 1.5;
        background: #f2f2f2;
        overflow-x:hidden;
        -webkit-tap-highlight-color: transparent;
    }*,
    ::before,
    ::after{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        /* 针对移动端 */
        -webkit-tap-highlight-color: transparent;
    } a
    { text-decoration: none; color: #333; }

    input,textarea{
        outline: none;
        border: none;
        resize: none;
        /* 清除移动端的输入样式 */
        -webkit-appearance: none;
    }
  • 相关阅读:
    ORM框架
    优酷项目1
    新年第一天
    前端第十天
    前端第九天
    前端第八天
    前端第七天
    前端第六天
    前端第五天
    月亮与六便士
  • 原文地址:https://www.cnblogs.com/xiaozhang666/p/11340185.html
Copyright © 2011-2022 走看看