• HTML元素的默认样式


    html,body,div,  h1,h2,h3,h4,h5,h6,p,  ol,ul,dl,dt,dd,
    frame,frameset,form,fieldset,  blockquote,address,hr,pre 
    { display: block }
    button,textarea,input,select 
    { display: inline-block }
    li           
    { display: list-item }
    head         
    { display: none }
    table        
    { display: table }
    caption      
    { display: table-caption }
    thead        
    { display: table-header-group }
    tbody        
    { display: table-row-group }
    tfoot        
    { display: table-footer-group }
    tr           
    { display: table-row }
    col          
    { display: table-column }
    colgroup     
    { display: table-column-group }
    td,th        
    { display: table-cell }

    caption     
    { text-align: center }
    th          
    { font-weight: bolder; text-align: center }

    body     
    { margin: 8px }
    blockquote      
    { margin-left: 40px; margin-right: 40px }
    h4,p,blockquote,ul,fieldset,form,ol,dl 
    { margin: 1.12em 0 }
    h1       
    { font-size: 2em;    margin: 0.67em 0 }
    h2       
    { font-size: 1.5em;  margin: 0.75em 0 }
    h3       
    { font-size: 1.17em; margin: 0.83em 0 }
    h5       
    { font-size: 0.83em; margin: 1.5em  0 }
    h6       
    { font-size: 0.75em; margin: 1.67em 0 }

    pre  
    { white-space: pre }

    h1,h2,h3,h4,h5,h6,strong  
    { font-weight: bolder }

    cite,em,var,address 
    { font-style: italic }
    pre,code,kbd,samp   
    { font-family: monospace }
    sub,sup   
    { font-size: .83em }
    sub   
    { vertical-align: sub }
    sup   
    { vertical-align: super }
    table      
    { border-spacing: 2px; }
    thead,tbody,tfoot           
    { vertical-align: middle }
    td, th          
    { vertical-align: inherit }
    del             
    { text-decoration: line-through }
    ins             
    { text-decoration: underline }
    hr              
    { border: 1px inset }
    ol, ul, dd        
    { margin-left: 40px }
    ol              
    { list-style-type: decimal }
    ol ul, ul ol, ul ul, ol ol    
    { margin-top: 0; margin-bottom: 0 }
    :link, :visited 
    { text-decoration: underline }
    br:before 
    { content: "\A" }
    :before, :after 
    { white-space: pre-line }
    :focus 
    { outline: thin dotted invert }
  • 相关阅读:
    Pytorch cpu版离线安装:win10 + Anaconda + Pip
    离线配置Opencv-python: Anaconda3 + Pycharm+ Win10 + Python3.6
    HSmartWindowControl 之 摄像头实时显示( 使用 WPF )
    OpencvSharp 在WPF的Image控件中显示图像
    HSmartWindowControl 之 显示图像
    HSmartWindowControl之安装篇 (Visual Studio 2013 & Halcon 18)
    使用ILMerge 打包C# 绿色免安装版程序
    C# 日志输出工具库—log4net 安装、配置及简单应用
    Python:windows下scikit-learn 安装和更新
    C# 开源仪表盘库—Agauge App
  • 原文地址:https://www.cnblogs.com/fxair/p/2577255.html
Copyright © 2020-2023  润新知