Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ the primary implementations.

*TODO: Add class naming rules*

*TODO: Add property usage rules, for instance preference for logical properties*
#### Prefer logical properties

Use [logical properties](https://www.w3.org/TR/css-logical-1/)
(`inset-block-start`, `margin-inline`) over physical properties (`top`,
`margin-left`), to allow the components to be used in different writing systems.
Physical properties can be used when the positioning is not intended to be
relative to the flow of the page.

## JavaScript

Expand Down