css概要

background-color                                     背景

background-image: url(/i/eg_bg_07.gif)   背景图片

text-indent: 5em                                      文字缩进

word-spacing:30px     文字间距

letter-spacing: 20px                     字母间距

text-transform: 改变文字大小写

direction                                文本的书写方向、表中列布局的方向、内容水平填充其元素框的方向、以及两端对齐元素中最后一行的为止。

line-height 设置行高。

font-family: sans-serif;   设置字体

font-style: normal 属性最常用于规定斜体文本。

font-weight:900 属性设置文本的粗细。

font-size 属性设置文本的大小。

border-style: outset;                    获得一种凸起效果

border: 1px solid black; 加黑色边框

display                                 显示或隐藏


css概要
 

********************

超链接

 

a:link {color:#FF0000;}    /* 未被访问的链接 */     text-decoration:none; 去掉下划线

a:visited {color:#00FF00;} /* 已被访问的链接 */

a:hover {color:#FF00FF;}   /* 鼠标指针移动到链接上 */

a:active {color:#0000FF;}  /* 正在被点击的链接 */

********************

边框

border 边框

margin 外边框

padding 内边框

height   高度

width   宽度


css概要
 

***********************

相对定位 是 相对当前的位置 移动

绝对定位 是 对于屏幕的位置 移动

浮动    嗯……   浮动…………

 

 


css概要
 

*****************************

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(css)