line-height:150%;
z-index:-1; 图片做背景
position: absolute; //脱离文档流
relative; //元素原来的空间仍保留
display: block
none
overflow: auto //文本溢出框时,是否相识scroll bar
clip:rect(0px,60px,200px,0px);
//对元素进行裁减
vertical-align:text-bottom //设置元素的垂直对齐方式
a:hover {background-color:#ff3300}
border-style:dotted solid double dashed; //上右下左(时钟方向),border-top-style
border-width: thick;
由于 border-style 的默认值是 none,如果没有声明样式,就相当于 border-style: none。因此,如果您希望边框出现,就必须声明一个边框样式。
'border-radius': '10px' 圆角矩形
h1 {border-width: 20px;} 根据以上规则,所有 h1 元素都不会有任何边框,更不用说 20 像素宽了。
border-color: transparent;
opacity: 0.5; 设置不透明度,0隐藏,1正常显示
transition:width 2s; 设置过渡效果
text-indent 设置块级元素的缩进