CSS 背景与边框检测

← 返回首页

CSS1 基础背景 1996

background-color 背景色
background-image 背景图
background-repeat 背景重复
background-position 背景位置
background-attachment 背景附着

CSS2 边框基础 1998

border-width 边框宽度
border-style 边框样式
border-color 边框颜色
border-radius 圆角边框

CSS3 背景扩展 2009

background-size 背景尺寸
background-origin 背景原点
background-clip 背景裁剪
多重背景

CSS3 边框扩展 2009

box-shadow 盒阴影
border-image 边框图像
border-image-slice 图像切片
border-image-repeat 图像重复

CSS3 渐变 2010

linear-gradient 线性渐变
radial-gradient 径向渐变
conic-gradient 锥形渐变
repeating-gradient 重复渐变
渐变颜色插值空间

现代背景特性 2015+

background-blend-mode 背景混合
mix-blend-mode 混合模式
isolation 隔离层叠
clip-path 裁剪路径
mask 遮罩
mask-image 遮罩图像
object-fit 对象适应
object-position 对象位置