border-image
Values
none
| hidden
| dotted
| dashed
| solid
| double
| groove
| inset
| outset
Applicable to...
All elements except table
elements that have the property border-collapse: collapse;
.
Inherited
No
Description
Border-image
is a shorthand property that defines the source, cutting pattern, border-width, directional angle and repetition of an image-based border. Note that the syntax for this property is a bit different from other CSS properties: for example you have to separate 3 of the 5 possible values with slashes and you have to list them in a specific order. There is a great tutorial about border-image
on CSS-Tricks.com: http://css-tricks.com/understanding-border-image/.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
7.0+ (-webkit-) | 3.5+ (-moz-) | 11+ | 10.5+ (-o-) | 3.0+ (-webkit-) |