---
title: "css中的样式缩写 border/margin/background/font/list"
author: "stargaga"
date: "2011-10-13T14:31:18Z"
tags: []
categories: ["Web前端"]
slug: "css-border-margin-background-font-list"
draft: false
lastmod: "2011-10-13T14:52:24Z"
id: 1194525
url: "https://stargaga.iteye.com/blog/1194525"
---

border:1px solid #000;
background: #f00 url(background.gif) no-repeat fixed 0 0;
font:italic small-caps bold 1em/140% "lucida Grande",sans-serif;
list-style: square inside url(image.gif);
margin:20px 20px 5px 20px;(上右下左顺时针方式)
