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;

     

     

  • 相关阅读:
    如何区分JS中的this?!
    JavaScript----函数的封装、继承和多态
    正则知识点解读及常用表达式(判断有效数字、手机号邮箱等)
    Java-集合练习5
    输入输出练习
    集合练习5
    集合练习4
    集合练习题2
    Java-集合练习题1
    Java-小练习简单银行程序
  • 原文地址:https://www.cnblogs.com/vincent_ds/p/2646337.html
Copyright © 2011-2022 走看看