zoukankan      html  css  js  c++  java
  • CSS缩写

    font14px/1.3 Arial,sans-serif;

      相当于

    font-stylenormal;

    font-variantnormal;

    font-weightnormal;

    font-size14px;

    line-height1.3;

    font-familyArial, sans-serif;

    --------------------------------------------------

     #nav, #nav ul {

       list-stylenone outside none;
    }

      相当于

      list-style-typenone;

      list-style-positionoutside;

      list-style-imagenone;

    --------------------------------------------------

    backgroundurl('menu_bg.png') no-repeat scroll 0 0 transparent;

    相当于

    background-imageurl(menu_bg.png);

    background-repeat-xno-repeat;

    background-repeat-yno-repeat;

    background-attachmentscroll;

    background-position-x0px;

    background-position-y0px;

    background-origininitial;

    background-clipinitial; //初始

    background-colortransparent; //透明

    --------------------------------------------------

    border-radius0 5px 5px 5px;

    相当于

    border-top-left-radius0px;

    border-top-right-radius5px;

    border-bottom-right-radius5px;

    border-bottom-left-radius5px;

    --------------------------------------------------

    border-width0 2px 4px 1px;

    相当于

    border-top-width0px;

    border-right-width2px;

    border-bottom-width4px;

    border-left-width1px;

    --------------------------------------------------

    border-width0 2px 1px;

    相当于

    border-top-width0px;

    border-right-width2px;

    border-bottom-width1px;

    border-left-width2px;

     

     

  • 相关阅读:
    使用Mockito进行单元测试【2】—— stub 和 高级特性[转]
    使用Mockito进行单元测试【1】——mock and verify[转]
    一个更加简洁的 建造者模式
    建造者模式
    另一种 模板模式
    模板模式
    适配器模式的另一种解释
    适配器模式
    迭代器模式
    迭代器模式 循环数组
  • 原文地址:https://www.cnblogs.com/vincent_ds/p/2646337.html
Copyright © 2011-2022 走看看