Skip to content

Commit

Permalink
fix(css): enforce canonical order on border and outline pages (#34995)
Browse files Browse the repository at this point in the history
fix(css): enforce canonical order on border and outlinen pages
  • Loading branch information
OnkarRuikar authored Jul 23, 2024
1 parent 9f32592 commit aa714bb
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/css/border/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ The **`border`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en

This property is a shorthand for the following CSS properties:

- [`border-color`](/en-US/docs/Web/CSS/border-color)
- [`border-style`](/en-US/docs/Web/CSS/border-style)
- [`border-width`](/en-US/docs/Web/CSS/border-width)
- [`border-style`](/en-US/docs/Web/CSS/border-style)
- [`border-color`](/en-US/docs/Web/CSS/border-color)

## Syntax

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/css/outline-color/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ p {
## See also

- {{cssxref("outline")}}
- {{cssxref("outline-color")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-width")}}
- {{cssxref("outline-style")}}
- The {{cssxref("<color>")}} data type
- Other color-related properties: {{cssxref("color")}}, {{cssxref("background-color")}}, {{cssxref("border-color")}}, {{cssxref("text-decoration-color")}}, {{cssxref("text-emphasis-color")}}, {{cssxref("text-shadow")}}, {{cssxref("caret-color")}}, and {{cssxref("column-rule-color")}}
4 changes: 2 additions & 2 deletions files/en-us/web/css/outline-offset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ p {
## See also

- {{cssxref("outline")}}
- {{cssxref("outline-color")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-width")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-color")}}
2 changes: 1 addition & 1 deletion files/en-us/web/css/outline-style/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,5 @@ The `auto` value indicates a custom outline style, described in [the specificati
## See also

- {{cssxref("outline")}}
- {{cssxref("outline-color")}}
- {{cssxref("outline-width")}}
- {{cssxref("outline-color")}}
2 changes: 1 addition & 1 deletion files/en-us/web/css/outline-width/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ span {
## See also

- {{cssxref("outline")}}
- {{cssxref("outline-color")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-color")}}
29 changes: 15 additions & 14 deletions files/en-us/web/css/outline/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ The **`outline`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/We

This property is a shorthand for the following CSS properties:

- {{cssxref("outline-color")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-width")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-color")}}

## Syntax

```css
/* style */
outline: solid;

/* color | style */
outline: #f66 dashed;
/* style | color */
outline: dashed #f66;

/* style | width */
outline: inset thick;
/* width | style */
outline: thick inset;

/* color | style | width */
outline: green solid 3px;
/* width | style | color*/
outline: 3px solid green;

/* Global values */
outline: inherit;
Expand All @@ -48,12 +48,12 @@ The `outline` property may be specified using one, two, or three of the values l

### Values

- `<'outline-color'>`
- : Sets the color of the outline. Defaults to `invert` for browsers supporting it, `currentcolor` for the others. See {{cssxref("outline-color")}}.
- `<'outline-style'>`
- : Sets the style of the outline. Defaults to `none` if absent. See {{cssxref("outline-style")}}.
- `<'outline-width'>`
- : Sets the thickness of the outline. Defaults to `medium` if absent. See {{cssxref("outline-width")}}.
- `<'outline-style'>`
- : Sets the style of the outline. Defaults to `none` if absent. See {{cssxref("outline-style")}}.
- `<'outline-color'>`
- : Sets the color of the outline. Defaults to `invert` for browsers supporting it, `currentcolor` for the others. See {{cssxref("outline-color")}}.

## Description

Expand Down Expand Up @@ -120,6 +120,7 @@ a:focus {

## See also

- {{cssxref("outline-color")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-width")}}
- {{cssxref("outline-style")}}
- {{cssxref("outline-color")}}
- {{Cssxref("border")}}

0 comments on commit aa714bb

Please sign in to comment.