@samitouri / QOS-React-2 / commits / 559933655a

[Docs] Document newly added unitless css props in tips

Cheng Lou committed Jan 18, 2014 at 17:09 UTC 559933655a2c966a0f84712052ce3d4e3574c675
1 file changed +7
docs/tips/06-style-props-value-px.md
+7
@@ -20,10 +20,17 @@ See [Inline Styles](/react/tips/inline-styles.html) for more info.
20
21 Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of properties that won't get the automatic "px" suffix:
22
23 +- `columnCount`
24 - `fillOpacity`
25 +- `flex`
26 +- `flexGrow`
27 +- `flexShrink`
28 - `fontWeight`
29 +- `lineClamp`
30 - `lineHeight`
31 - `opacity`
32 +- `order`
33 - `orphans`
34 +- `widows`
35 - `zIndex`
36 - `zoom`