Home Article Practice background类css属性

background类css属性

2023-04-23 17:05  views:729  source:心丶慌了    

background,背景
:linear-gradient(颜色,颜色),没有方向渐变
:linear-gradient(to top,颜色,颜色),向上渐变
:linear-gradient(to bottom,颜色,颜色),往下渐变
:linear-gradient(to right,颜色,颜色),往右渐变
:linear-gradient(to left,颜色,颜色),往左渐变
-image:url(图片路径),背景图片
-repeat:repeat-y,背景在y轴重复
-repeat:repeat-x,背景在x轴重复
-repeat:no-repeat,照片不重复
-position:数值 数值,控制图像位置
-color:颜色,背景颜色
-color:rgba(红值,绿值,蓝值,透明值),背景色透明
-size:数值 数值,背景大小



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)