zoukankan      html  css  js  c++  java
  • CSS样式表书写顺序

    下表顺序为从上到下,从左到右:
    ========================
    display || visibility
    list-style : list-style-type || list-style-position || list-style-image
    position
    top || right || bottom || left
    z-index
    clear
    float

    width
    max-width || min-width
    height
    max-height || min-height
    overflow || clip
    margin : margin-top || margin-right || margin-bottom || margin-left
    padding : padding-top || padding-right || padding-bottom || padding-left
    outline : outline-color || outline-style || outline-width
    border
    background : background-color || background-image || background-repeat || background-attachment || background-position

    color
    font : font-style || font-variant || font-weight || font-size || line-height || font-family
    font : caption | icon | menu | message-box | small-caption | status-bar
    text-overflow
    text-align
    text-indent
    line-height
    white-space
    vertical-align
    cursor

  • 相关阅读:
    vue与自定义元素的关系
    vue用组件构建应用
    vue处理用户输入
    vue条件与循环
    vue声明式渲染
    Java编程的逻辑 (86)
    Java编程的逻辑 (85)
    Java编程的逻辑 (84)
    Java编程的逻辑 (83)
    Java编程的逻辑 (82)
  • 原文地址:https://www.cnblogs.com/qiangspecial/p/2980299.html
Copyright © 2011-2022 走看看