You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/rules/display-notation/README.md
+2-108Lines changed: 2 additions & 108 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ a { display: block; }
11
11
12
12
Modern `display` property values allow you to define both the [outer and inner display type](https://drafts.csswg.org/css-display-3/#the-display-properties) separately (e.g. `inline flex`). While CSS 2 used a single-keyword, precomposed syntax for the `display` property (e.g. `inline-flex`).
13
13
14
-
In the [Display Module Level 3 specification](https://drafts.csswg.org/css-display-3/) the following precomposed values are defined as legacy:
14
+
In the [Display Module Level 3 specification](https://drafts.csswg.org/css-display-3/) the following precomposed values are defined:
15
15
16
16
-`inline-block`
17
17
-`inline-flex`
@@ -22,7 +22,7 @@ More recent and future inner display types (e.g. `grid-lanes`) can only be combi
22
22
23
23
The full notation explicitly describes the inner and outer display types of elements. This notation makes it easier to understand how an element will behave and to learn about the various display types.
24
24
25
-
The short notation omits defaults or switches to legacy values, and doesn't follow the modern principle of value composition.
25
+
The short notation omits defaults or switches to precomposed values, and doesn't follow the modern principle of value composition.
26
26
27
27
This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes.
0 commit comments