zoukankan      html  css  js  c++  java
  • 【CSS】电脑、移动端公用样式

    电脑端:

    /* Public */
    @charset "utf-8";
    
    html, body, div, p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, input, select, button, textarea, iframe, table, th, td {margin: 0; padding: 0; }
    img { border: 0 none; vertical-align: top; }
    ul,li,dl,dd,dt { list-style-type: none; }
    i,em,cite { font-style: normal; }
    body { -webkit-text-size-adjust:none; /* 谷歌不支持12px以下字号 */ font-family:"微软雅黑";}
    a{ text-decoration: none; }
    .clear,.cle {clear:both;}
    a,area { blr:expression(this.onFocus=this.blur()) } /* 去掉IE下链接虚线框 */
    a:focus { outline: none; } /* 去掉火狐下链接虚线框 */
    /* end_Public */

    移动端:

    @charset "utf-8";
    
    html, body, div, p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, input, select, button, textarea, iframe, table, th, td {margin: 0; padding: 0; }
    img { border: 0 none; vertical-align: top;width:100%;}
    ul,li,dl,dd,dt { list-style-type: none; }
    i,em,cite { font-style: normal; }
    body { -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: none;}
    a{ text-decoration: none; }
    html{font-size: 62.5%;max-width: 640px;min-width:5rem;margin:0 auto;font-family: "微软雅黑";}
    input[type="button"], input[type="submit"], input[type="reset"] { -webkit-appearance: none; }
  • 相关阅读:
    又回来咯
    4 20210412-1 原型设计作业
    3 20210405-1 案例分析作业
    202103226-1 编程作业
    阅读任务
    准备工作
    原型设计作业
    案例分析
    编程作业
    构建之法读后感
  • 原文地址:https://www.cnblogs.com/langting/p/11042154.html
Copyright © 2011-2022 走看看