Skip to content

Commit 839fb1c

Browse files
committed
docs: shortcuts
1 parent 2b80359 commit 839fb1c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,3 +418,4 @@ e.g.: `flex~1` results in `flex: 1`
418418
- `border-~1-solid-red``border: 1 solid red` (strict number, no division or unit)
419419
- `border-1~solid-red``border: 0.25rem solid red` (only affects the part with ~)
420420
- `box-shadow~1-2-2-grey``box-shadow: 1 0.5rem 0.5rem grey` (strict property name)
421+
- Shorthand properties can be used in place of longhand properties, e.g.: `d-f` -> `display: flex`

0 commit comments

Comments
 (0)