zoukankan      html  css  js  c++  java
  • 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 }
  • 相关阅读:
    Spring Boot从Controller层进行单元测试
    CentOS7搭建Flume1.6环境
    CentOS7安装Zookeeper3.4.11+HBase1.3.3
    Hadoop1.x的单点问题与Hadoop2.x HA原理
    Hadoop2.x——Yarn原理
    CentOS7安装scala2.11.8+spark2.0.2
    CentOS7搭建Hive1.2.2+mysql5.7
    搭建集群环境(CentOS7+Hadoop2.6.1+SSH)
    消除“if...else”实战
    SpringCloud Eureka服务治理机制
  • 原文地址:https://www.cnblogs.com/fxair/p/2577255.html
Copyright © 2011-2022 走看看