zoukankan      html  css  js  c++  java
  • css常用公共样式

    * {-webkit-tap-highlight-color: transparent;outline: 0;  }
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {  margin: 0;  padding: 0;  border: 0;  font-size: 100%;  font: inherit;  vertical-align: baseline;  outline: none;  -webkit-box-sizing: border-box;  -moz-box-sizing: border-box;  box-sizing: border-box;  }
    html { height:100%;background:#f0f2f4;touch-action: manipulation;}
    body { font-size: 62.5%;  line-height: 1;  margin: 0 auto;  min- 320px;  max- 768px;  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Hiragino Sans GB", "Microsoft Yahei", "微软雅黑", Arial, Helvetica, STHeiti, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";  -webkit-text-size-adjust: 100% !important;  -webkit-user-select: none;  user-select: none;  }
    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
    ol, ul { list-style: none; }
    blockquote, q { quotes: none; }
    blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
    strong { font-weight: bold; }
    table { border-collapse: collapse; border-spacing: 0; }
    img { border: 0; max- 100%; }
    p { font-size: 1.2em; line-height: 1.0em; color: #333; }
    a, a:visited ,a:hover,a:active{ text-decoration: none; color: #333;  }
    a,button,input{-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent;}
    .flex {  display: box;  display: -ms-box;  display: -webkit-box;  display: flex;  display: -ms-flexbox;  display: -webkit-flex;  }
    .flex-item {  display: block;  flex: 1;  -ms-flex: 1;  -webkit-flex: 1;  box-flex: 1;  -ms-box-flex: 1; -webkit-box-flex: 1; }
    .flex-container{justify-content: center; align-items: center;}
    .relative { position: relative; }
    .none { display: none; }
    .bg-fff{ background: #FFFFFF;}
    .col-fff{color: #FFFFFF;}
    .bg-f7d{background-color: #f7dd92;}
    .magfooter{margin-bottom: 1.4rem;}
    .fr{text-align: right}
    .fl{text-align: left}
    .html_hide{ height: 100%; 100%;overflow: hidden;}
    

    作者:fozero
    声明:原创文章,转载请注明出处,谢谢!http://www.cnblogs.com/fozero/p/8331898.html
    标签:css

  • 相关阅读:
    webdriver---API---(java版) the fifth part
    【CSP-S2019模拟】题解
    【CSP-S2019模拟】题解
    【洛谷P5113】—魔女的夜宴Sabbat of the witch(分块+基数排序)
    【Codeforces 666 E】—Forensic Examination(广义Sam+线段树合并)
    【洛谷P4081】【USACO17DEC】—Standing Out from the Herd(广义Sam)
    【洛谷P4451】整数的lqp拆分(生成函数)
    【CSP-S 2019模拟】题解
    【Codeforces 335 E】—Counting Skyscrapers
    【Codeforces 793 G】—Oleg and chess(线段树优化建图+最大流)
  • 原文地址:https://www.cnblogs.com/fozero/p/8331898.html
Copyright © 2011-2022 走看看