Skip to content

Commit 53a0acd

Browse files
ntwbjrfnl
andauthored
Wrap CSS elements in backticks
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent cc827f9 commit 53a0acd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • wordpress-coding-standards

wordpress-coding-standards/css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Above all else, choose something that is meaningful to you and semantic in some
119119
</ul>
120120
Things that are not yet used in core itself, such as CSS3 animations, may not have a prescribed place above but likely would fit into one of the above in a logical manner. Just as CSS is evolving, so our standards will evolve with it.
121121

122-
Top/Right/Bottom/Left (TRBL/trouble) should be the order for any relevant properties (e.g. margin), much as the order goes in values. Corner specifiers (e.g. `border-radius-*-*`) should be top-left, top-right, bottom-right, bottom-left. This is derived from how shorthand values would be ordered.
122+
Top/Right/Bottom/Left (TRBL/trouble) should be the order for any relevant properties (e.g. `margin`), much as the order goes in values. Corner specifiers (e.g. `border-radius-*-*`) should be `top-left`, `top-right`, `bottom-right`, `bottom-left`. This is derived from how shorthand values would be ordered.
123123

124124
Example:
125125

0 commit comments

Comments
 (0)