提交 01b4b27b 编写于 作者: D DCloud_LXH

feat: css文档,需要补充 App平台的默认值和适用组件

上级 3a88469d
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -177,6 +177,8 @@
* [z-index](css/z-index.md)
* [visibility](css/visibility.md)
* [lines](css/lines.md)
* [align-self](css/align-self.md)
* [pointer-events](css/pointer-events.md)
* UVUE DOM
* [DOM概述](dom/)
* [Element](dom/element.md)
......
......@@ -7,6 +7,10 @@
<!-- CSSJSON.align-content.values -->
<!-- CSSJSON.align-content.defaultValue -->
<!-- CSSJSON.align-content.unixTags -->
<!-- CSSJSON.align-content.compatibility -->
<!-- CSSJSON.align-content.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.align-items.values -->
<!-- CSSJSON.align-items.defaultValue -->
<!-- CSSJSON.align-items.unixTags -->
<!-- CSSJSON.align-items.compatibility -->
<!-- CSSJSON.align-items.reference -->
\ No newline at end of file
## align-self
<!-- CSSJSON.align-self.description -->
<!-- CSSJSON.align-self.syntax -->
<!-- CSSJSON.align-self.values -->
<!-- CSSJSON.align-self.defaultValue -->
<!-- CSSJSON.align-self.unixTags -->
<!-- CSSJSON.align-self.compatibility -->
<!-- CSSJSON.align-self.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.background-clip.values -->
<!-- CSSJSON.background-clip.defaultValue -->
<!-- CSSJSON.background-clip.unixTags -->
<!-- CSSJSON.background-clip.compatibility -->
<!-- CSSJSON.background-clip.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.background-color.values -->
<!-- CSSJSON.background-color.defaultValue -->
<!-- CSSJSON.background-color.unixTags -->
<!-- CSSJSON.background-color.compatibility -->
<!-- CSSJSON.background-color.reference -->
\ No newline at end of file
## background-image
<!-- CSSJSON.background-image.description -->
<!-- CSSJSON.background-image.syntax -->
<!-- CSSJSON.background-image.values -->
<!-- CSSJSON.background-image.defaultValue -->
<!-- CSSJSON.background-image.unixTags -->
<!-- CSSJSON.background-image.compatibility -->
#### App平台
......@@ -29,4 +34,5 @@ linear-gradient(<direction>, <color-start>, <color-stop>)
> background-image 优先级高于 background-color,同时设置 background-image 和 background-color 时 background-color 被覆盖。
<!-- CSSJSON.background-image.reference -->
<!-- CSSJSON.background-image.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.background.values -->
<!-- CSSJSON.background.defaultValue -->
<!-- CSSJSON.background.unixTags -->
<!-- CSSJSON.background.compatibility -->
<!-- CSSJSON.background.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-bottom-color.values -->
<!-- CSSJSON.border-bottom-color.defaultValue -->
<!-- CSSJSON.border-bottom-color.unixTags -->
<!-- CSSJSON.border-bottom-color.compatibility -->
<!-- CSSJSON.border-bottom-color.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-bottom-left-radius.values -->
<!-- CSSJSON.border-bottom-left-radius.defaultValue -->
<!-- CSSJSON.border-bottom-left-radius.unixTags -->
<!-- CSSJSON.border-bottom-left-radius.compatibility -->
<!-- CSSJSON.border-bottom-left-radius.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-bottom-right-radius.values -->
<!-- CSSJSON.border-bottom-right-radius.defaultValue -->
<!-- CSSJSON.border-bottom-right-radius.unixTags -->
<!-- CSSJSON.border-bottom-right-radius.compatibility -->
<!-- CSSJSON.border-bottom-right-radius.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-bottom-style.values -->
<!-- CSSJSON.border-bottom-style.defaultValue -->
<!-- CSSJSON.border-bottom-style.unixTags -->
<!-- CSSJSON.border-bottom-style.compatibility -->
<!-- CSSJSON.border-bottom-style.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-bottom-width.values -->
<!-- CSSJSON.border-bottom-width.defaultValue -->
<!-- CSSJSON.border-bottom-width.unixTags -->
<!-- CSSJSON.border-bottom-width.compatibility -->
<!-- CSSJSON.border-bottom-width.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-bottom.values -->
<!-- CSSJSON.border-bottom.defaultValue -->
<!-- CSSJSON.border-bottom.unixTags -->
<!-- CSSJSON.border-bottom.compatibility -->
<!-- CSSJSON.border-bottom.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-color.values -->
<!-- CSSJSON.border-color.defaultValue -->
<!-- CSSJSON.border-color.unixTags -->
<!-- CSSJSON.border-color.compatibility -->
<!-- CSSJSON.border-color.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-left-color.values -->
<!-- CSSJSON.border-left-color.defaultValue -->
<!-- CSSJSON.border-left-color.unixTags -->
<!-- CSSJSON.border-left-color.compatibility -->
<!-- CSSJSON.border-left-color.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-left-style.values -->
<!-- CSSJSON.border-left-style.defaultValue -->
<!-- CSSJSON.border-left-style.unixTags -->
<!-- CSSJSON.border-left-style.compatibility -->
<!-- CSSJSON.border-left-style.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-left-width.values -->
<!-- CSSJSON.border-left-width.defaultValue -->
<!-- CSSJSON.border-left-width.unixTags -->
<!-- CSSJSON.border-left-width.compatibility -->
<!-- CSSJSON.border-left-width.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-left.values -->
<!-- CSSJSON.border-left.defaultValue -->
<!-- CSSJSON.border-left.unixTags -->
<!-- CSSJSON.border-left.compatibility -->
<!-- CSSJSON.border-left.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-radius.values -->
<!-- CSSJSON.border-radius.defaultValue -->
<!-- CSSJSON.border-radius.unixTags -->
<!-- CSSJSON.border-radius.compatibility -->
<!-- CSSJSON.border-radius.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-right-color.values -->
<!-- CSSJSON.border-right-color.defaultValue -->
<!-- CSSJSON.border-right-color.unixTags -->
<!-- CSSJSON.border-right-color.compatibility -->
<!-- CSSJSON.border-right-color.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-right-style.values -->
<!-- CSSJSON.border-right-style.defaultValue -->
<!-- CSSJSON.border-right-style.unixTags -->
<!-- CSSJSON.border-right-style.compatibility -->
<!-- CSSJSON.border-right-style.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-right-width.values -->
<!-- CSSJSON.border-right-width.defaultValue -->
<!-- CSSJSON.border-right-width.unixTags -->
<!-- CSSJSON.border-right-width.compatibility -->
<!-- CSSJSON.border-right-width.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-right.values -->
<!-- CSSJSON.border-right.defaultValue -->
<!-- CSSJSON.border-right.unixTags -->
<!-- CSSJSON.border-right.compatibility -->
<!-- CSSJSON.border-right.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-style.values -->
<!-- CSSJSON.border-style.defaultValue -->
<!-- CSSJSON.border-style.unixTags -->
<!-- CSSJSON.border-style.compatibility -->
<!-- CSSJSON.border-style.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-top-color.values -->
<!-- CSSJSON.border-top-color.defaultValue -->
<!-- CSSJSON.border-top-color.unixTags -->
<!-- CSSJSON.border-top-color.compatibility -->
<!-- CSSJSON.border-top-color.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-top-left-radius.values -->
<!-- CSSJSON.border-top-left-radius.defaultValue -->
<!-- CSSJSON.border-top-left-radius.unixTags -->
<!-- CSSJSON.border-top-left-radius.compatibility -->
<!-- CSSJSON.border-top-left-radius.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-top-right-radius.values -->
<!-- CSSJSON.border-top-right-radius.defaultValue -->
<!-- CSSJSON.border-top-right-radius.unixTags -->
<!-- CSSJSON.border-top-right-radius.compatibility -->
<!-- CSSJSON.border-top-right-radius.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-top-style.values -->
<!-- CSSJSON.border-top-style.defaultValue -->
<!-- CSSJSON.border-top-style.unixTags -->
<!-- CSSJSON.border-top-style.compatibility -->
<!-- CSSJSON.border-top-style.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-top-width.values -->
<!-- CSSJSON.border-top-width.defaultValue -->
<!-- CSSJSON.border-top-width.unixTags -->
<!-- CSSJSON.border-top-width.compatibility -->
<!-- CSSJSON.border-top-width.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-top.values -->
<!-- CSSJSON.border-top.defaultValue -->
<!-- CSSJSON.border-top.unixTags -->
<!-- CSSJSON.border-top.compatibility -->
<!-- CSSJSON.border-top.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border-width.values -->
<!-- CSSJSON.border-width.defaultValue -->
<!-- CSSJSON.border-width.unixTags -->
<!-- CSSJSON.border-width.compatibility -->
<!-- CSSJSON.border-width.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.border.values -->
<!-- CSSJSON.border.defaultValue -->
<!-- CSSJSON.border.unixTags -->
<!-- CSSJSON.border.compatibility -->
<!-- CSSJSON.border.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.bottom.values -->
<!-- CSSJSON.bottom.defaultValue -->
<!-- CSSJSON.bottom.unixTags -->
<!-- CSSJSON.bottom.compatibility -->
<!-- CSSJSON.bottom.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.box-shadow.values -->
<!-- CSSJSON.box-shadow.defaultValue -->
<!-- CSSJSON.box-shadow.unixTags -->
<!-- CSSJSON.box-shadow.compatibility -->
<!-- CSSJSON.box-shadow.reference -->
\ No newline at end of file
......@@ -2,13 +2,15 @@
<!-- CSSJSON.box-sizing.description -->
### App平台差异
App平台默认值为border-box
<!-- CSSJSON.box-sizing.syntax -->
<!-- CSSJSON.box-sizing.values -->
<!-- CSSJSON.box-sizing.defaultValue -->
<!-- CSSJSON.box-sizing.unixTags -->
<!-- CSSJSON.box-sizing.compatibility -->
<!-- CSSJSON.box-sizing.reference -->
<!-- CSSJSON.box-sizing.reference -->
\ No newline at end of file
......@@ -7,14 +7,17 @@
<!-- CSSJSON.color.values -->
<!-- CSSJSON.color.defaultValue -->
<!-- CSSJSON.color.unixTags -->
<!-- CSSJSON.color.compatibility -->
#### App平台
App端 color 样式不支持继承,仅对 [text组件](../component/text.md) 和基于text的[button组件](../component/button.md)生效,其它组件设置 color 样式无任何效果。
text 组件的默认值为黑色(#000000)。
App端 color 样式不支持继承,
#### 浏览器或webview平台
所有元素都支持设置 color 样式,并支持继承。
同时会设置 `currentcolor` 值,`currentcolor` 可以用作其他属性的间接值,且为其他颜色属性(如 border-color)的默认值。
<!-- CSSJSON.color.reference -->
<!-- CSSJSON.color.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.display.values -->
<!-- CSSJSON.display.defaultValue -->
<!-- CSSJSON.display.unixTags -->
<!-- CSSJSON.display.compatibility -->
<!-- CSSJSON.display.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.flex-basis.values -->
<!-- CSSJSON.flex-basis.defaultValue -->
<!-- CSSJSON.flex-basis.unixTags -->
<!-- CSSJSON.flex-basis.compatibility -->
<!-- CSSJSON.flex-basis.reference -->
\ No newline at end of file
......@@ -3,13 +3,14 @@
<!-- CSSJSON.flex-direction.description -->
### App平台差异
App平台默认值为column
<!-- CSSJSON.flex-direction.syntax -->
<!-- CSSJSON.flex-direction.values -->
<!-- CSSJSON.flex-direction.defaultValue -->
<!-- CSSJSON.flex-direction.unixTags -->
<!-- CSSJSON.flex-direction.compatibility -->
<!-- CSSJSON.flex-direction.reference -->
<!-- CSSJSON.flex-direction.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.flex-flow.values -->
<!-- CSSJSON.flex-flow.defaultValue -->
<!-- CSSJSON.flex-flow.unixTags -->
<!-- CSSJSON.flex-flow.compatibility -->
<!-- CSSJSON.flex-flow.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.flex-grow.values -->
<!-- CSSJSON.flex-grow.defaultValue -->
<!-- CSSJSON.flex-grow.unixTags -->
<!-- CSSJSON.flex-grow.compatibility -->
<!-- CSSJSON.flex-grow.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.flex-shrink.values -->
<!-- CSSJSON.flex-shrink.defaultValue -->
<!-- CSSJSON.flex-shrink.unixTags -->
<!-- CSSJSON.flex-shrink.compatibility -->
<!-- CSSJSON.flex-shrink.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.flex-wrap.values -->
<!-- CSSJSON.flex-wrap.defaultValue -->
<!-- CSSJSON.flex-wrap.unixTags -->
<!-- CSSJSON.flex-wrap.compatibility -->
<!-- CSSJSON.flex-wrap.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.flex.values -->
<!-- CSSJSON.flex.defaultValue -->
<!-- CSSJSON.flex.unixTags -->
<!-- CSSJSON.flex.compatibility -->
<!-- CSSJSON.flex.reference -->
\ No newline at end of file
......@@ -7,14 +7,18 @@
<!-- CSSJSON.font-family.values -->
<!-- CSSJSON.font-family.defaultValue -->
<!-- CSSJSON.font-family.unixTags -->
<!-- CSSJSON.font-family.compatibility -->
#### App平台差异
- font-family 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
- font-family 样式不支持继承
#### 字体图标
支持ttf和otf字体图标。
- 可在css里直接加载,[参考](https://gitcode.net/dcloud/hello-uni-app-x/-/blob/master/pages/CSS/text/font-family.uvue)
- 也可以使用API [uni.loadFontface](../api/loadFontFace.md)
<!-- CSSJSON.font-family.reference -->
<!-- CSSJSON.font-family.reference -->
\ No newline at end of file
## font-size
<!-- CSSJSON.font-size.description -->
<!-- CSSJSON.font-size.syntax -->
<!-- CSSJSON.font-size.values -->
<!-- CSSJSON.font-size.defaultValue -->
<!-- CSSJSON.font-size.unixTags -->
<!-- CSSJSON.font-size.compatibility -->
#### App平台差异
......@@ -15,4 +20,4 @@ font-size 样式不支持继承,仅对[text](uni-app-x/component/text.md)组
> 不支持基于用户默认字体大小的绝对大小关键字,如small、medium、large等
> 不支持em、rem、ex等单位
<!-- CSSJSON.font-size.reference -->
<!-- CSSJSON.font-size.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.font-style.values -->
<!-- CSSJSON.font-style.defaultValue -->
<!-- CSSJSON.font-style.unixTags -->
<!-- CSSJSON.font-style.compatibility -->
#### App平台差异
font-style 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
font-style 样式不支持继承
<!-- CSSJSON.font-style.reference -->
<!-- CSSJSON.font-style.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.font-weight.values -->
<!-- CSSJSON.font-weight.defaultValue -->
<!-- CSSJSON.font-weight.unixTags -->
<!-- CSSJSON.font-weight.compatibility -->
#### App平台差异
font-weight 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
font-weight 样式不支持继承
<!-- CSSJSON.font-weight.reference -->
<!-- CSSJSON.font-weight.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.height.values -->
<!-- CSSJSON.height.defaultValue -->
<!-- CSSJSON.height.unixTags -->
<!-- CSSJSON.height.compatibility -->
<!-- CSSJSON.height.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.justify-content.values -->
<!-- CSSJSON.justify-content.defaultValue -->
<!-- CSSJSON.justify-content.unixTags -->
<!-- CSSJSON.justify-content.compatibility -->
<!-- CSSJSON.justify-content.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.left.values -->
<!-- CSSJSON.left.defaultValue -->
<!-- CSSJSON.left.unixTags -->
<!-- CSSJSON.left.compatibility -->
<!-- CSSJSON.left.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.letter-spacing.values -->
<!-- CSSJSON.letter-spacing.defaultValue -->
<!-- CSSJSON.letter-spacing.unixTags -->
<!-- CSSJSON.letter-spacing.compatibility -->
<!-- CSSJSON.letter-spacing.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.line-height.values -->
<!-- CSSJSON.line-height.defaultValue -->
<!-- CSSJSON.line-height.unixTags -->
<!-- CSSJSON.line-height.compatibility -->
#### App平台
......@@ -19,4 +23,4 @@ line-height 样式不支持继承,仅对 [text](uni-app-x/component/text.md)
#### Web规范
line-height 样式支持继承,默认值为normal(大约为1.2em,取决于 font-family 样式)
<!-- CSSJSON.line-height.reference -->
<!-- CSSJSON.line-height.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.lines.values -->
<!-- CSSJSON.lines.defaultValue -->
<!-- CSSJSON.lines.unixTags -->
<!-- CSSJSON.lines.compatibility -->
<!-- CSSJSON.lines.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.margin-bottom.values -->
<!-- CSSJSON.margin-bottom.defaultValue -->
<!-- CSSJSON.margin-bottom.unixTags -->
<!-- CSSJSON.margin-bottom.compatibility -->
<!-- CSSJSON.margin-bottom.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.margin-left.values -->
<!-- CSSJSON.margin-left.defaultValue -->
<!-- CSSJSON.margin-left.unixTags -->
<!-- CSSJSON.margin-left.compatibility -->
<!-- CSSJSON.margin-left.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.margin-right.values -->
<!-- CSSJSON.margin-right.defaultValue -->
<!-- CSSJSON.margin-right.unixTags -->
<!-- CSSJSON.margin-right.compatibility -->
<!-- CSSJSON.margin-right.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.margin-top.values -->
<!-- CSSJSON.margin-top.defaultValue -->
<!-- CSSJSON.margin-top.unixTags -->
<!-- CSSJSON.margin-top.compatibility -->
<!-- CSSJSON.margin-top.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.margin.values -->
<!-- CSSJSON.margin.defaultValue -->
<!-- CSSJSON.margin.unixTags -->
<!-- CSSJSON.margin.compatibility -->
<!-- CSSJSON.margin.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.max-height.values -->
<!-- CSSJSON.max-height.defaultValue -->
<!-- CSSJSON.max-height.unixTags -->
<!-- CSSJSON.max-height.compatibility -->
<!-- CSSJSON.max-height.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.max-width.values -->
<!-- CSSJSON.max-width.defaultValue -->
<!-- CSSJSON.max-width.unixTags -->
<!-- CSSJSON.max-width.compatibility -->
<!-- CSSJSON.max-width.reference -->
\ No newline at end of file
......@@ -7,12 +7,17 @@
<!-- CSSJSON.min-height.values -->
<!-- CSSJSON.min-height.defaultValue -->
<!-- CSSJSON.min-height.unixTags -->
<!-- CSSJSON.min-height.compatibility -->
#### App平台
在App端为了优化文字排版性能,不支持 auto、none、max-content、min-content、fit-content,默认值为0px。
#### Web规范
默认值为 auto,通过计算选择一个 min-height 值。
<!-- CSSJSON.min-height.reference -->
<!-- CSSJSON.min-height.reference -->
\ No newline at end of file
......@@ -2,13 +2,15 @@
<!-- CSSJSON.min-width.description -->
### App平台差异
App平台默认值为0px
<!-- CSSJSON.min-width.syntax -->
<!-- CSSJSON.min-width.values -->
<!-- CSSJSON.min-width.defaultValue -->
<!-- CSSJSON.min-width.unixTags -->
<!-- CSSJSON.min-width.compatibility -->
<!-- CSSJSON.min-width.reference -->
<!-- CSSJSON.min-width.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.opacity.values -->
<!-- CSSJSON.opacity.defaultValue -->
<!-- CSSJSON.opacity.unixTags -->
<!-- CSSJSON.opacity.compatibility -->
<!-- CSSJSON.opacity.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.overflow.values -->
<!-- CSSJSON.overflow.defaultValue -->
<!-- CSSJSON.overflow.unixTags -->
<!-- CSSJSON.overflow.compatibility -->
<!-- CSSJSON.overflow.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.padding-bottom.values -->
<!-- CSSJSON.padding-bottom.defaultValue -->
<!-- CSSJSON.padding-bottom.unixTags -->
<!-- CSSJSON.padding-bottom.compatibility -->
<!-- CSSJSON.padding-bottom.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.padding-left.values -->
<!-- CSSJSON.padding-left.defaultValue -->
<!-- CSSJSON.padding-left.unixTags -->
<!-- CSSJSON.padding-left.compatibility -->
<!-- CSSJSON.padding-left.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.padding-right.values -->
<!-- CSSJSON.padding-right.defaultValue -->
<!-- CSSJSON.padding-right.unixTags -->
<!-- CSSJSON.padding-right.compatibility -->
<!-- CSSJSON.padding-right.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.padding-top.values -->
<!-- CSSJSON.padding-top.defaultValue -->
<!-- CSSJSON.padding-top.unixTags -->
<!-- CSSJSON.padding-top.compatibility -->
<!-- CSSJSON.padding-top.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.padding.values -->
<!-- CSSJSON.padding.defaultValue -->
<!-- CSSJSON.padding.unixTags -->
<!-- CSSJSON.padding.compatibility -->
<!-- CSSJSON.padding.reference -->
\ No newline at end of file
## pointer-events
<!-- CSSJSON.pointer-events.description -->
<!-- CSSJSON.pointer-events.syntax -->
<!-- CSSJSON.pointer-events.values -->
<!-- CSSJSON.pointer-events.defaultValue -->
<!-- CSSJSON.pointer-events.unixTags -->
<!-- CSSJSON.pointer-events.compatibility -->
<!-- CSSJSON.pointer-events.reference -->
\ No newline at end of file
......@@ -7,9 +7,14 @@
<!-- CSSJSON.position.values -->
<!-- CSSJSON.position.defaultValue -->
<!-- CSSJSON.position.unixTags -->
<!-- CSSJSON.position.compatibility -->
#### App平台差异
App平台默认值为relative。absolute元素相对父组件确定位置,fixed元素位于页面顶层。
absolute元素相对父组件确定位置,fixed元素位于页面顶层。
<!-- CSSJSON.position.reference -->
<!-- CSSJSON.position.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.right.values -->
<!-- CSSJSON.right.defaultValue -->
<!-- CSSJSON.right.unixTags -->
<!-- CSSJSON.right.compatibility -->
<!-- CSSJSON.right.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.text-align.values -->
<!-- CSSJSON.text-align.defaultValue -->
<!-- CSSJSON.text-align.unixTags -->
<!-- CSSJSON.text-align.compatibility -->
<!-- CSSJSON.text-align.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.text-decoration-color.values -->
<!-- CSSJSON.text-decoration-color.defaultValue -->
<!-- CSSJSON.text-decoration-color.unixTags -->
<!-- CSSJSON.text-decoration-color.compatibility -->
#### App平台差异
text-decoration-color 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
text-decoration-color 样式不支持继承
<!-- CSSJSON.text-decoration-color.reference -->
<!-- CSSJSON.text-decoration-color.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.text-decoration-line.values -->
<!-- CSSJSON.text-decoration-line.defaultValue -->
<!-- CSSJSON.text-decoration-line.unixTags -->
<!-- CSSJSON.text-decoration-line.compatibility -->
#### App平台差异
text-decoration-line 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
text-decoration-line 样式不支持继承
<!-- CSSJSON.text-decoration-line.reference -->
<!-- CSSJSON.text-decoration-line.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.text-decoration-style.values -->
<!-- CSSJSON.text-decoration-style.defaultValue -->
<!-- CSSJSON.text-decoration-style.unixTags -->
<!-- CSSJSON.text-decoration-style.compatibility -->
#### App平台差异
text-decoration-style 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
text-decoration-style 样式不支持继承
<!-- CSSJSON.text-decoration-style.reference -->
<!-- CSSJSON.text-decoration-style.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.text-decoration-thickness.values -->
<!-- CSSJSON.text-decoration-thickness.defaultValue -->
<!-- CSSJSON.text-decoration-thickness.unixTags -->
<!-- CSSJSON.text-decoration-thickness.compatibility -->
#### App平台差异
text-decoration-thickness 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
text-decoration-thickness 样式不支持继承
<!-- CSSJSON.text-decoration-thickness.reference -->
<!-- CSSJSON.text-decoration-thickness.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.text-decoration.values -->
<!-- CSSJSON.text-decoration.defaultValue -->
<!-- CSSJSON.text-decoration.unixTags -->
<!-- CSSJSON.text-decoration.compatibility -->
#### App平台差异
text-decoration 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
text-decoration 样式不支持继承
<!-- CSSJSON.text-decoration.reference -->
<!-- CSSJSON.text-decoration.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.text-overflow.values -->
<!-- CSSJSON.text-overflow.defaultValue -->
<!-- CSSJSON.text-overflow.unixTags -->
<!-- CSSJSON.text-overflow.compatibility -->
#### App平台差异
text-overflow 样式不支持继承,仅对 [text](uni-app-x/component/text.md) 组件生效。
text-overflow 样式不支持继承
<!-- CSSJSON.text-overflow.reference -->
<!-- CSSJSON.text-overflow.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.top.values -->
<!-- CSSJSON.top.defaultValue -->
<!-- CSSJSON.top.unixTags -->
<!-- CSSJSON.top.compatibility -->
<!-- CSSJSON.top.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.transform-origin.values -->
<!-- CSSJSON.transform-origin.defaultValue -->
<!-- CSSJSON.transform-origin.unixTags -->
<!-- CSSJSON.transform-origin.compatibility -->
<!-- CSSJSON.transform-origin.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.transform.values -->
<!-- CSSJSON.transform.defaultValue -->
<!-- CSSJSON.transform.unixTags -->
<!-- CSSJSON.transform.compatibility -->
<!-- CSSJSON.transform.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.transition-delay.values -->
<!-- CSSJSON.transition-delay.defaultValue -->
<!-- CSSJSON.transition-delay.unixTags -->
<!-- CSSJSON.transition-delay.compatibility -->
<!-- CSSJSON.transition-delay.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.transition-duration.values -->
<!-- CSSJSON.transition-duration.defaultValue -->
<!-- CSSJSON.transition-duration.unixTags -->
<!-- CSSJSON.transition-duration.compatibility -->
<!-- CSSJSON.transition-duration.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.transition-property.values -->
<!-- CSSJSON.transition-property.compatibility -->
#### App平台
App平台不支持`none``all`属性
<!-- CSSJSON.transition-property.reference -->
<!-- CSSJSON.transition-property.defaultValue -->
#### App平台
App平台不支持`none``all`属性
\ No newline at end of file
<!-- CSSJSON.transition-property.unixTags -->
<!-- CSSJSON.transition-property.compatibility -->
<!-- CSSJSON.transition-property.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.transition-timing-function.values -->
<!-- CSSJSON.transition-timing-function.defaultValue -->
<!-- CSSJSON.transition-timing-function.unixTags -->
<!-- CSSJSON.transition-timing-function.compatibility -->
<!-- CSSJSON.transition-timing-function.reference -->
\ No newline at end of file
......@@ -7,9 +7,13 @@
<!-- CSSJSON.transition.values -->
<!-- CSSJSON.transition.compatibility -->
#### App平台
App平台不支持`none``all`属性
<!-- CSSJSON.transition.reference -->
<!-- CSSJSON.transition.defaultValue -->
#### App平台
App平台不支持`none``all`属性
\ No newline at end of file
<!-- CSSJSON.transition.unixTags -->
<!-- CSSJSON.transition.compatibility -->
<!-- CSSJSON.transition.reference -->
\ No newline at end of file
<!-- CSSJSON.visibility.name -->
## visibility
<!-- CSSJSON.visibility.description -->
......@@ -6,6 +7,10 @@
<!-- CSSJSON.visibility.values -->
<!-- CSSJSON.visibility.defaultValue -->
<!-- CSSJSON.visibility.unixTags -->
<!-- CSSJSON.visibility.compatibility -->
<!-- CSSJSON.visibility.reference -->
\ No newline at end of file
......@@ -7,6 +7,10 @@
<!-- CSSJSON.width.values -->
<!-- CSSJSON.width.defaultValue -->
<!-- CSSJSON.width.unixTags -->
<!-- CSSJSON.width.compatibility -->
<!-- CSSJSON.width.reference -->
\ No newline at end of file
......@@ -3,16 +3,14 @@
<!-- CSSJSON.z-index.description -->
> App 平台 list-view 为了提升性能,对其子组件 list-item 复用优化机制,因此 list-item 组件不支持 z-index 属性
<!-- CSSJSON.z-index.syntax -->
<!-- CSSJSON.z-index.values -->
<!-- CSSJSON.z-index.compatibility -->
<!-- CSSJSON.z-index.defaultValue -->
#### App平台
在App端仅对同级的兄弟元素之间支持 z-index 来调节,同级元素中 z-index 较大的元素会覆盖较小的元素在上层进行显示,没有设置 z-index 值时,同级元素中写在后面的元素覆盖写在前面的元素。
z-index默认值为0。
<!-- CSSJSON.z-index.unixTags -->
<!-- CSSJSON.z-index.compatibility -->
<!-- CSSJSON.z-index.reference -->
<!-- CSSJSON.z-index.reference -->
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册