MDN The appearanceCSS property specifies the rendered appearance of replaced UI widget elements such as form controls. Most commonly, such elements are given native, platform-specific styling based on the operating system's theme, or a primitive appearance with styles that can be overridden using CSS.
MDN The caret-animationCSS property is used to enable or disable the blinking behavior of the insertion caret, the visible marker that appears in editable elements to indicate where the next character will be inserted or deleted.
Live previewExample from MDN
p { caret-color: red;}p:first-of-type { caret-animation: auto;}p:last-of-type { caret-animation: manual;}
<p contenteditable="true"> My caret animates because <code>caret-animation</code> is set to <code>auto</code>.</p><p contenteditable="true"> My caret doesn't animate because <code>caret-animation</code> is set to <code>manual</code>.</p>
Syntax
auto | manual
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
text or elements that accept text input
Inherited
yes
Percentages
N/A
Computed value
specified keyword
Canonical order
per grammar
Animation type
discrete
Browser support
First browser version supporting caret-animation
Chrome
140
Edge
140
Firefox
No
Safari
No
Chrome Android
140
Safari iOS
No
First version with support, from MDN browser-compat-data.
MDN The caret-colorCSS property sets the color of the insertion caret, sometimes referred to as the text input cursor. This is the visible marker appearing at the insertion point where the next character typed will be added or where the next character deleted will be removed.
Live previewExample from MDN
#example-element { font-size: 1.2rem;}
<section class="default-example container" id="default-example"> <div> <p>Enter text in the field to see the caret:</p> <p><input id="example-element" type="text" /></p> </div></section>
Syntax
auto | <color> [auto | <color>]?
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
text or elements that accept text input
Inherited
yes
Percentages
N/A
Computed value
The computed value for auto is auto. For <color> values, see CSS Color 4 § 15. Resolving <color> Values.
Canonical order
per grammar
Animation type
by computed value
Browser support
First browser version supporting caret-color
Chrome
57
Edge
79
Firefox
53
Safari
11.1
Chrome Android
57
Safari iOS
11.3
First version with support, from MDN browser-compat-data.
MDN The caret-shapeCSS property sets the shape of the insertion caret, the visible marker that appears in editable elements to indicate where the next character will be inserted or deleted.
<section class="default-example container" id="default-example"> <div id="example-element"> Move over this element to see the cursor style. </div></section>
Syntax
[<cursor-image>,]* <cursor-predefined>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
all elements
Inherited
yes
Percentages
N/A
Computed value
as specified, except with any relative URLs converted to absolute
Canonical order
per grammar
Animation type
discrete
Browser support
First browser version supporting cursor
Chrome
1
Edge
12
Firefox
1
Safari
1.2
Chrome Android
18
Safari iOS
13.4
First version with support, from MDN browser-compat-data.
MDN The interest-delayCSS property specifies the delay between the user showing interest in an interest invoker element and the HTMLElement.interest_event event firing, and the delay between the user losing interest and the HTMLElement.loseinterest_event event firing.
Live previewExample from MDN
.delay { interest-delay: 1s 2s;}
<button interestfor="mypopover">Button</button><p id="mypopover" popover>Hover tooltip</p><form> <input type="checkbox" id="apply-delay" /> <label for="apply-delay"> Apply an <code>interest-delay</code> of <code>1s 2s</code> </label></form>
MDN The interest-delay-endCSS property specifies the delay between the user losing interest in an interest invoker element and the HTMLElement.loseinterest_event event firing.
Live previewExample from MDN
.delay { interest-delay-end: 2s;}
<button interestfor="mypopover">Button</button><p id="mypopover" popover>Hover tooltip</p><form> <input type="checkbox" id="apply-delay" /> <label for="apply-delay"> Apply an <code>interest-delay-end</code> of <code>2s</code> </label></form>
MDN The interest-delay-startCSS property specifies the delay between the user showing interest in an interest invoker element and the HTMLElement.interest_event event firing.
Live previewExample from MDN
.delay { interest-delay-start: 2s;}
<button interestfor="mypopover">Button</button><p id="mypopover" popover>Hover tooltip</p><form> <input type="checkbox" id="apply-delay" /> <label for="apply-delay"> Apply an <code>interest-delay-start</code> of <code>2s</code> </label></form>
<section class="default-example" id="default-example"> <div class="transition-all" id="example-element"> This is a box with an outline around it. </div></section>
<section class="default-example" id="default-example"> <div class="transition-all" id="example-element"> This is a box with an outline around it. </div></section>
Syntax
auto | <'border-top-color'>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
all elements
Inherited
no
Percentages
N/A
Computed value
see below
Canonical order
per grammar
Animation type
by computed value
Browser support
First browser version supporting outline-color
Chrome
1
Edge
12
Firefox
1.5
Safari
1.2
Chrome Android
18
Safari iOS
1
First version with support, from MDN browser-compat-data.
<section class="default-example" id="default-example"> <div class="transition-all" id="example-element"> This is a box with an outline around it. </div></section>
Syntax
<length>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
0
Applies to
all elements
Inherited
no
Percentages
N/A
Computed value
absolute length
Canonical order
per grammar
Animation type
by computed value
Browser support
First browser version supporting outline-offset
Chrome
1
Edge
15
Firefox
1.5
Safari
1.2
Chrome Android
18
Safari iOS
1
First version with support, from MDN browser-compat-data.
<section class="default-example" id="default-example"> <div class="transition-all" id="example-element"> This is a box with an outline around it. </div></section>
Syntax
auto | <outline-line-style>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
none
Applies to
all elements
Inherited
no
Percentages
N/A
Computed value
specified keyword
Canonical order
per grammar
Animation type
by computed value
Browser support
First browser version supporting outline-style
Chrome
1
Edge
12
Firefox
1.5
Safari
1.2
Chrome Android
18
Safari iOS
1
First version with support, from MDN browser-compat-data.
PropertyBaseline: widely availablesince October 2019
MDN The CSSoutline-width property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the border.
<section class="default-example" id="default-example"> <div class="transition-all" id="example-element"> This is a box with an outline around it. </div></section>
Syntax
<line-width>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
medium
Applies to
all elements
Inherited
no
Percentages
N/A
Computed value
absolute length, snapped as a border width
Canonical order
per grammar
Animation type
by computed value
Browser support
First browser version supporting outline-width
Chrome
1
Edge
12
Firefox
1.5
Safari
1.2
Chrome Android
18
Safari iOS
1
First version with support, from MDN browser-compat-data.
MDN The user-selectCSS property controls whether the user can select text. This doesn't have any effect on content loaded as part of a browser's user interface (its chrome), except in textboxes.
Live previewExample from MDN
#example-element { font-size: 1.5rem;}
<section id="default-example"> <p id="example-element">Try to select this text</p></section>
Syntax
auto | text | none | contain | all
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
all elements, and optionally to the ::before and ::after pseudo-elements
Inherited
no
Percentages
n/a
Computed value
specified keyword
Canonical order
per grammar
Animation type
discrete
Browser support
First browser version supporting user-select
Chrome
54
Edge
79
Firefox
69
Safari
Preview
Chrome Android
54
Safari iOS
3 (-webkit- prefix)
First version with support, from MDN browser-compat-data.