From 1996b42f902ed87909f5abfb3fb45b541671af8a Mon Sep 17 00:00:00 2001 From: Peter Ramsing Date: Thu, 14 Jun 2018 13:02:24 -0700 Subject: [PATCH] docs: Adds note about default unit for fxFlex if none given --- docs/documentation/fxFlex-API.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/documentation/fxFlex-API.md b/docs/documentation/fxFlex-API.md index 5f9a11c0c..eda9ec76a 100644 --- a/docs/documentation/fxFlex-API.md +++ b/docs/documentation/fxFlex-API.md @@ -60,6 +60,7 @@ The **flex-basis** values can be pixels, percentages, calcs, em, vw, vh, or know * `fxFlex="102px"` * `fxFlex="auto"` +If no unit is specified it defaults to percentages (e.g. `fxFlex="50"` => `flex: 1 1 50%`). Flex-basis **aliases** are accepted shorthand terms used to quickly specify Flexbox stylings. Here are the industry mappings of the alias to its resulting CSS styling: