@@ -31,37 +31,37 @@ const code = parse(jsxCode, [cssCode1, cssCode2, ...], {
3131| 属性 | 可选值 / 单位 | 支持情况 |
3232| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | :------: |
3333| flex | ` flexGrow flexShrink flexBasis ` | ✔️ |
34- | flexGrow | Number | ✔️ |
35- | flexShrink | Number | ✔️ |
36- | flexBasis | Length | ✔️ |
37- | flexDirection | 'row','row-reverse','column','column-reverse' | ✔️ |
38- | justifyContent | 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly' | ✔️ |
39- | alignContent | 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly' | ✔️ |
40- | alignItems | 'flex-start', 'flex-end', 'center', 'baseline', 'stretch' , 'auto' | ✔️ |
41- | alignSelf | 'flex-start', 'flex-end', 'center', 'baseline', 'stretch' , 'auto' | ✔️ |
42- | flexWrap | 'nowrap', 'wrap', 'wrap-reverse' | ❌ |
34+ | flex-grow | Number | ✔️ |
35+ | flex-shrink | Number | ✔️ |
36+ | flex-basis | Length | ✔️ |
37+ | flex-direction | 'row','row-reverse','column','column-reverse' | ✔️ |
38+ | justify-content | 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly' | ✔️ |
39+ | align-content | 'flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly' | ✔️ |
40+ | alignitems | 'flex-start', 'flex-end', 'center', 'baseline', 'stretch' , 'auto' | ✔️ |
41+ | align-self | 'flex-start', 'flex-end', 'center', 'baseline', 'stretch' , 'auto' | ✔️ |
42+ | flex-wrap | 'nowrap', 'wrap', 'wrap-reverse' | ❌ |
4343| position | 'relative', 'absolute' | ✔️ |
4444| left | Length | ✔️ |
4545| top | Length | ❌ |
4646| right | Length | ❌ |
47- | zIndex | Number | ✔️ |
47+ | z-zndex | Number | ✔️ |
4848| bottom | Length | ✔️ |
4949| margin | Length \ Length Length \ Length Length Length \ Length Length Length Length | ✔️ |
50- | marginTop | Length | ✔️ |
51- | marginRight | Length | ✔️ |
52- | marginBottom | Length | ✔️ |
53- | marginLeft | Length | ✔️ |
50+ | margin-top | Length | ✔️ |
51+ | margin-right | Length | ✔️ |
52+ | margin-bottom | Length | ✔️ |
53+ | margin-left | Length | ✔️ |
5454| padding | Length \ Length Length \ Length Length Length \ Length Length Length Length | ✔️ |
55- | paddingTop | Length | ✔️ |
56- | paddingRight | Length | ✔️ |
57- | paddingBottom | Length | ✔️ |
58- | paddingLeft | Length | ✔️ |
55+ | padding-top | Length | ✔️ |
56+ | padding-right | Length | ✔️ |
57+ | padding-bottom | Length | ✔️ |
58+ | padding-left | Length | ✔️ |
5959| width | Length | ✔️ |
6060| height | Length | ✔️ |
61- | minHeight | Length | ✔️ |
62- | minWidth | Length | ✔️ |
63- | maxHeight | Length | ✔️ |
64- | maxWidth | Length | ✔️ |
61+ | min-height | Length | ✔️ |
62+ | min-width | Length | ✔️ |
63+ | max-height | Length | ✔️ |
64+ | max-eidth | Length | ✔️ |
6565| background | | ✔️ |
6666| background-color | Color | ✔️ |
6767| background-image | "src('xxx')" | ✔️ |
0 commit comments