From 797fffca0544fd4732e5457458dcd70434096c75 Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Sat, 18 Jan 2014 17:09:36 -0800 Subject: [PATCH] [Docs] Document newly added unitless css props in tips --- tips/06-style-props-value-px.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tips/06-style-props-value-px.md b/tips/06-style-props-value-px.md index 233e29ff..38124545 100644 --- a/tips/06-style-props-value-px.md +++ b/tips/06-style-props-value-px.md @@ -20,10 +20,17 @@ See [Inline Styles](/react/tips/inline-styles.html) for more info. Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of properties that won't get the automatic "px" suffix: +- `columnCount` - `fillOpacity` +- `flex` +- `flexGrow` +- `flexShrink` - `fontWeight` +- `lineClamp` - `lineHeight` - `opacity` +- `order` - `orphans` +- `widows` - `zIndex` - `zoom`