CSS сокращенные формы

Аватар пользователя Натали


background-color: #bbb;

background-image: url(img/bg.png);

background-repeat: repeat-x;

background-attachment: fixed;

background-position: left center;

/* is the same */

background: #bbb url(img/bg.png) repeat-x fixed left center;



margin-top: 5px;

margin-right: 5px;

margin-bottom: 10px;

margin-left: 25px;

/* is the same */

margin: 5px 5px 10px 25px;     



font-style: normal;

font-variant: inherit;

font-weight: lighter;

font-size: 10px;

line-height: 20px;

font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

/* is the same */

font: normal inherit lighter 10px/20px "Trebuchet MS", Arial, Helvetica, sans-serif;