CSS outline properties
The CSS outline properties draw a border around an element that does not affect layout, making it ideal for highlighting. This covers the outline
shorthand, as well as outline-width
, outline-style
, outline-color
and outline-offset
.
IE | Edge | Firefox | Chrome | Safari | Opera | iOS Safari | Opera Mini | Android Browser | Blackberry Browser | Opera Mobile | Chrome for Android | Firefox for Android | IE Mobile | UC Browser for Android | Samsung Internet | QQ Browser | Baidu Browser |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49 | |||||||||||||||||
56 | 9.3 | 4.4 | |||||||||||||||
14
See notes:
|
52 | 57 | 10 | 10.0-10.2 | 4.4.3-4.4.4 | 4 | |||||||||||
11
See notes:
|
15 | 53 | 58 | 10.1 | 44 | 10.3 | all | 56 | 10 | 37 | 57 | 52 | 11
See notes:
|
11.4 | 5 | 1.2 | 7.12 |
54 | 59 | TP | 45 | ||||||||||||||
55 | 60 | 46 | |||||||||||||||
56 | 61 |
Notes
Firefox also supports the non-standard -moz-outline-radius
property that acts similar to border-radius
.
-
1
Also supports the value of
invert
foroutline-color
. (support of this value is optional for browsers) -
2
Does not support
outline-offset
.