Skip to content

Commit

Permalink
fix(css): add 'auto' value outline-color (mdn#29798)
Browse files Browse the repository at this point in the history
* fix(css): add 'auto' value outline-color

* Apply suggestions from code review

Co-authored-by: Estelle Weyl <[email protected]>

---------

Co-authored-by: Estelle Weyl <[email protected]>
  • Loading branch information
OnkarRuikar and estelle authored Oct 27, 2023
1 parent b04d0da commit 5f56a84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/en-us/web/css/outline-color/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ outline-color: rgb(30, 222, 121);
outline-color: blue;

/* Keyword value */
outline-color: invert;
outline-color: auto;

/* Global values */
outline-color: inherit;
Expand All @@ -36,8 +36,8 @@ The `outline-color` property is specified as any one of the values listed below.

- {{cssxref("&lt;color&gt;")}}
- : The color of the outline, specified as a `<color>`.
- `invert`
- : To ensure the outline is visible, performs a color inversion of the background. Note that browsers are not required to support this value; if they don't, this keyword is considered invalid.
- `auto` {{Experimental_Inline}}
- : Computes to [`currentcolor`](/en-US/docs/Web/CSS/color_value#currentcolor_keyword) unless [`outline-style`](/en-US/docs/Web/CSS/outline-style) is set to `auto` then it computes to the [accent color](/en-US/docs/Web/CSS/accent-color).

## Description

Expand Down

0 comments on commit 5f56a84

Please sign in to comment.