css 样式表

background-color: #FFCC66;
background-image:url('butterfly.jpg');
background-repeat: repeat-x,repeat-y,no-repeat,repeat
background-attachment:fixed,scroll
background-position:100px 200px, top,right,left,bottom,center
表示背景图像将被放置在位于距浏览器窗口左边100像素、顶部200像素处。
background  : 
        
        
        
        
各个值应按下列次序来写:
[background-color] | [background-image] | [background-repeat] |
 [background-attachment] | [background-position]
font-family: arial, verdana, sans-serif;
font-style: normal(正常),italic(斜体)或oblique(倾斜)
font-variant: normal(正常)或small-caps小体大写字母)
font-weight: normal, bold(加粗)
font-size:14px
        
        
        
        
font属性的值应按以下次序书写:
font-style | font-variant | font-weight | font-size | font-family

text-indent:30px  首行缩进30像素
text-decoration:underline,overline,linethrough
text-align:center,left,right,justify(两端对齐)
letter-spacing  字符的水平间距
text-transform:capitalize,uppercase,lowercase

你可能感兴趣的:(css,职场,休闲)