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;

 

 

你可能感兴趣的:(css)