• 标准初始化css样式表


    body { font-size:12px; line-height:1.3; font-family:'微软雅黑', Tahoma,Helvetica,Arial,'宋体', sans-serif;}
    body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code,form, fieldset, legend, input, textarea, p, blockquote, th, td { margin:0;    padding:0;}
    table { border-collapse:collapse;    border-spacing:0;}
    fieldset, img { border:0;}
    address, caption, cite, code, dfn, em,  th, var { font-style:normal;    font-weight:normal;}
    li { list-style:none;}
    caption, th { text-align:left;}
    h1, h2, h3, h4, h5, h6 { clear:both; font-size:100%; font-weight:normal;}
    q:before, q:after { content:'';}
    abbr, acronym { border:0;    font-variant:normal;}
    input, textarea, select { font-family:inherit; font-size:inherit; font-weight:inherit;}
    input, textarea, select { *font-size:100%;}
    legend { color:#000;}
    del, ins { text-decoration:none;}
    select, input, button, textarea {    font:99% Verdana, arial, helvetica, clean, sans-serif;}
    table { font-size:inherit; font:100%;}
    pre, code, kbd, samp, tt { font-family:monospace;    *font-size:108%; line-height:100%;}
    sup,sub { vertical-align: baseline; position: relative;}
    sup { vertical-align:text-top;}
    sub { vertical-align:text-bottom;}
    a{ text-decoration:none;}
  • 相关阅读:
    面向对象(Object Oriented)
    文件操作
    函数
    dict--字典
    list--列表
    Ubuntu_18.04安装网易云音乐
    初识数据类型
    css控制内容显示,自动加"..."
    css固定元素位置(fixed)
    解决IE下iframe默认有白色背景的bug
  • 原文地址:https://www.cnblogs.com/wangjiayi/p/5393624.html
Copyright © 2020-2023  润新知