css_4


效果
border:redius 圆角
box-shadow: 0 0 0 # (x轴 y轴 阴影 颜色)
background:linear-gredient ( red yellow)
方向background:linear-gredient ( to right red yellow)
transition:all liner 2s 变化过渡
transform:rotatec(45deg)旋转45度
transform:scale(1.5)放大1.5倍
首行缩进:text-indent:2px
去掉下划线:text-decoration:none
下划线:text-decoration:underline
上划线:text-decoration:overrline
轮播图:backgrund-position:lenter
p平行四边形画法:transform:skew(20deg)
清除浮动:clear:both
serif寸线字体
sans-sreif非寸线字体
间距
字间距:letter-spacing:
词间距:word-spacing:
背景
backgrund-repect:no-repect图片单张现实不重复
backgrund-attachment:fixed 固定
backgrund-position: center 居中位置
background-size大小
雪碧图
box{ widteh:179px; height:179px ;backgrund:url();}

box:hover{backgrund-position:-278px 0;}

posted on 2017-11-19 15:47  李亿万  阅读(182)  评论(0编辑  收藏  举报