border-image-outset
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since February 2017.
概述
border-image-outset
属性定义边框图像可超出边框盒的大小。
初始值 | 0 |
---|---|
适用元素 | all elements, except internal table elements when border-collapse is collapse . It also applies to ::first-letter . |
是否是继承属性 | 否 |
计算值 | as specified, but with relative lengths converted into absolute lengths |
动画类型 | 按计算值的类型 |
语法
Formal syntax:border-image-outset =
[ <length [0,∞]> | <number [0,∞]> ]{1,4}
/* border-image-outset: sides */ border-image-outset: 30%; /* border-image-outset:垂直 水平 */ border-image-outset: 10% 30%; /* border-image-outset: 顶 水平 底 */ border-image-outset: 30px 30% 45px; /* border-image-outset:顶 右 底 左 */ border-image-outset: 7px 12px 14px 5px; border-image-repeat: inherit;
值
规范
Specification |
---|
CSS Backgrounds and Borders Module Level 3 # the-border-image-outset |
浏览器兼容性
BCD tables only load in the browser