CSS stylesheet

  1.  清楚HTML默認樣式html

    *{font-size:9pt;border:0;margin:0;padding:0;}
    body{font-family:'微軟雅黑'; margin:0 auto;min-width:980px;}
    ul{display:block;margin:0;padding:0;list-style:none;}
    li{display:block;margin:0;padding:0;list-style: none;}
    img{border:0;}
    dl,dt,dd,span{margin:0;padding:0;display:block;}
    a,a:focus{text-decoration:none;color:#000;outline:none;blr:expression(this.onFocus=this.blur());}
    a:hover{color:#00a4ac;text-decoration:none;}
    table{border-collapse:collapse;border-spacing: 0;}
    cite{font-style:normal;}
    h2{font-weight:normal;}
  2. 去掉標籤默認內間距、外間距express

    a, address, b, big, blockquote, body, center, cite, code, dd, del, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, label, legend, li, ol, p, pre, small, span, strong, u, ul, var {this

        margin: 0;spa

         padding: 0;code

    }orm

  3. 鼠標手型設置htm

    cursor:pointer
    ci

  4. Font Awesomeiframe

  5. box-shadowit

    box-shadow: 0px 10px 15px rgba(0,0,0,.5)   -- 設置彈出框陰影

    box-shadow: h-shadow v-shadow blur spread color inset;

    h-shadow:必需。水平陰影的位置。容許負值。

    v-shadow:必需。垂直陰影的位置。容許負值。

    blur:可選。模糊距離。

    spread:可選。陰影的尺寸。

    color:可選。陰影的顏色。請參閱 CSS 顏色值。

    inset:可選。將外部陰影 (outset) 改成內部陰影。

相關文章
相關標籤/搜索