Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit cdf1368

Browse files
peterramsingCaerusKaru
authored andcommitted
docs: add note about default unit for fxFlex if none given (#780)
1 parent b64b1b3 commit cdf1368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/documentation/fxFlex-API.md

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ The **flex-basis** values can be pixels, percentages, calcs, em, vw, vh, or know
6060
* `fxFlex="102px"`
6161
* `fxFlex="auto"`
6262

63+
If no unit is specified it defaults to percentages (e.g. `fxFlex="50"` => `flex: 1 1 50%`).
6364

6465
Flex-basis **aliases** are accepted shorthand terms used to quickly specify Flexbox stylings. Here are the industry
6566
mappings of the alias to its resulting CSS styling:

0 commit comments

Comments
 (0)