css3常用属性

CSS3 动画属性(Animation)

@keyframes //规定动画。

animation //所有动画属性的简写属性,除了 animation-play-state 属性。

animation-name //规定 @keyframes 动画的名称。

animation-duration //规定动画完成一个周期所花费的秒或毫秒。

animation-timing-function //规定动画的速度曲线。

animation-delay //规定动画何时开始。

animation-iteration-count //规定动画被播放的次数。

animation-direction //规定动画是否在下一周期逆向地播放。

animation-play-state //规定动画是否正在运行或暂停。

animation-fill-mode //规定对象动画时间之外的状态。


CSS 背景属性(Background)

background  //在一个声明中设置所有的背景属性。

background-attachment //设置背景图像是否固定或者随着页面的其余部分滚动。

background-color   //设置元素的背景颜色。

background-image //设置元素的背景图像。

background-position  //设置背景图像的开始位置。

background-repeat  //设置是否及如何重复背景图像。

background-clip   //规定背景的绘制区域。

background-origin  //规定背景图片的定位区域。

background-size  //规定背景图片的尺寸。


CSS 边框属性(Border 和 Outline)

border //在一个声明中设置所有的边框属性。

border-bottom //在一个声明中设置所有的下边框属性。

border-bottom-color //设置下边框的颜色。

border-bottom-style //设置下边框的样式。

border-bottom-width //设置下边框的宽度。

border-color //设置四条边框的颜色。

border-left //在一个声明中设置所有的左边框属性。

border-left-color //设置左边框的颜色。

border-left-style //设置左边框的样式。

border-left-width //设置左边框的宽度。

border-right //在一个声明中设置所有的右边框属性。

border-right-color  //设置右边框的颜色。

border-right-style //设置右边框的样式。

border-right-width  //设置右边框的宽度。

border-style //设置四条边框的样式。

border-top //在一个声明中设置所有的上边框属性。

border-top-color //设置上边框的颜色。

border-top-style //设置上边框的样式。

border-top-width //设置上边框的宽度。

border-width //设置四条边框的宽度。

outline //在一个声明中设置所有的轮廓属性。

outline-color //设置轮廓的颜色。

outline-style //设置轮廓的样式。

outline-width  //设置轮廓的宽度。

border-bottom-left-radius //定义边框左下角的形状。

border-bottom-right-radius //定义边框右下角的形状。

border-image //简写属性,设置所有

border-image-* 属性。

border-image-outset //规定边框图像区域超出边框的量。

border-image-repeat //图像边框是否应平铺(repeated)、铺满(rounded)或拉伸(stretched)

border-image-slice //规定图像边框的向内偏移。

border-image-source //规定用作边框的图片。

border-image-width //规定图片边框的宽度。

border-radius //简写属性,设置所有四个

border-*-radius 属性。

border-top-left-radius //定义边框左上角的形状。

border-top-right-radius //定义边框右下角的形状。

box-decoration-break //

box-shadow //向方框添加一个或多个阴影。

 Box 属性

overflow-x //如果内容溢出了元素内容区域,是否对内容的左/右边缘进行裁剪。

overflow-y //如果内容溢出了元素内容区域,是否对内容的上/下边缘进行裁剪。

overflow-style //规定溢出元素的首选滚动方法。

Rotation  //围绕由rotation-point 属性定义的点对元素进行旋转。

rotation-point  //定义距离上左边框边缘的偏移点。

 Color 属性

color-profile //允许使用源的颜色配置文件的默认以外的规范。

opacity //规定书签的级别。




原文地址:https://www.cnblogs.com/leena/p/6930283.html