html简单英文单词
html单词
height : 10px; 高
width : 10px; 宽
color 颜色
background-color 背景颜色
background-image : url(); 背景图片
background-repeat : no-repeat; 图片不平铺
background-repeat : repeat-x; 图片沿水平方向平铺
background-repeat : repeat-y; 图片沿垂直方向平铺
font-family 字体名称
font-size : 10pt ;字体大小
font-weight : bold /bolder; 字体加粗
font-style 字体样式
text-decoration :none; 去下划线
text-decoration :underline; 加下划线
text-align:left; 左对齐
text-align:right; 右对齐
text-align:center; 居中对齐
line-height 字体行高
border : 1px solid red ; 边框
border-color 边框颜色
border-width 边框粗细
border-radius : 1px 1px 3px 2px; 边框弧度
box-shadow : 0px 2px 4px red; 边框阴影
float : left ;漂浮
list-style-type : none; 去掉无序列表前面的黑点
内边距:
padding-top
padding-bottom
padding-left
padding-right
外边距:
margin-top
margin-bottom
margin-left
margin-right
相对定位:position : relative ;
top : ;
bottom : ;
left : ;
right : ;
绝对定位:position : absolute ;
top : ;
bottom : ;
left : ;
right : ;