文章目录
1、Qss背景属性(Background)
属性 | 说明 |
---|---|
background | 在一个声明中设置所有的背景属性。 |
background-attachment | 设置背景图像是否固定或者随着页面的其余部分滚动。 |
background-color | 设置元素的背景颜色。 |
background-image | 设置元素的背景图像。 |
background-position | 设置背景图像的开始位置。 |
background-repeat | 设置是否及如何重复背景图像。 |
background-clip | 规定背景的绘制区域。 |
background-origin | 规定背景图片的定位区域。 |
background-size | 规定背景图片的尺寸。 |
2、QSS边框属性(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-re |