mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add support for unitless tabSize/tab-size
This commit is contained in:
@@ -18,11 +18,15 @@ React.render(<div style={divStyle}>Hello World!</div>, mountNode);
|
||||
|
||||
개발 하다보면 CSS 속성들이 단위 없이 그대로 유지되어야 할 때가 있을 겁니다. 아래의 프로퍼티들은 자동으로 "px"가 붙지 않는 속성 리스트 입니다:
|
||||
|
||||
- `boxFlex`
|
||||
- `boxFlexGroup`
|
||||
- `columnCount`
|
||||
- `fillOpacity`
|
||||
- `flex`
|
||||
- `flexGrow`
|
||||
- `flexPositive`
|
||||
- `flexShrink`
|
||||
- `flexNegative`
|
||||
- `fontWeight`
|
||||
- `lineClamp`
|
||||
- `lineHeight`
|
||||
@@ -30,6 +34,7 @@ React.render(<div style={divStyle}>Hello World!</div>, mountNode);
|
||||
- `order`
|
||||
- `orphans`
|
||||
- `strokeOpacity`
|
||||
- `tabSize`
|
||||
- `widows`
|
||||
- `zIndex`
|
||||
- `zoom`
|
||||
|
||||
@@ -34,6 +34,7 @@ Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of pr
|
||||
- `order`
|
||||
- `orphans`
|
||||
- `strokeOpacity`
|
||||
- `tabSize`
|
||||
- `widows`
|
||||
- `zIndex`
|
||||
- `zoom`
|
||||
|
||||
Reference in New Issue
Block a user