• 常用的CSS Reset


    /***************************{CSS Reset}*****************************/
    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, font, 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 
    { background: transparent;
    border
    : 0; margin: 0; padding: 0; vertical-align: baseline; font-size: 100%; font: inherit; -webkit-text-size-adjust: none; }
    body 
    { line-height: 1; }
    table 
    { border-collapse: collapse; border-spacing: 0; }
    object, :focus 
    { outline: none; }
    article, aside, details, figcaption, figure, footer, header, hgroup, menu,
    nav, section 
    /* HTML 5 */ { display: block; }
    blockquote, q 
    { quotes: none; }
    blockquote:before, blockquote:after, q:before, q:after 
    { content: ''; content: none; }
    a img 
    { border: none; }
    input,button,textarea,select,optgroup,option
    { font-size: 100%; font: inherit; }

    /***************************{Common CSS Class}*****************************/
    .al 
    { text-align: left; }
    .ar 
    { text-align: right; }
    .ac 
    { text-align: center; }
    .lc 
    { margin: 0 auto; }
    .fl, .il .fl 
    { float: left; }
    .fr, .il .fr 
    { float: right; }
    .fc, .il .fc 
    { float: none; clear: both; }

    .rel 
    { position: relative; }
    .abs 
    { position: absolute; }

    .il 
    { list-style: none; }
    .il li 
    { float: left; }
  • 相关阅读:
    Http学习(一)
    Android Studio 创建aar包与引用
    C语言模块化编译介绍
    程序结构和分支语句介绍
    数据类型、常量、变量、printf、scanf和运算符
    第一个C语言程序
    Xcode相关整理
    Java: IO 学习小结
    Java: RandomAccessFile
    Java: IO 字符流
  • 原文地址:https://www.cnblogs.com/dudumao/p/2108774.html
Copyright © 2020-2023  润新知