Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-uni-app-x-zh
提交
cef2ba8f
U
unidocs-uni-app-x-zh
项目概览
DCloud
/
unidocs-uni-app-x-zh
通知
144
Star
2
Fork
33
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
9
列表
看板
标记
里程碑
合并请求
11
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
unidocs-uni-app-x-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
9
Issue
9
列表
看板
标记
里程碑
合并请求
11
合并请求
11
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
cef2ba8f
编写于
9月 03, 2024
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(css): 示例
上级
526b5b67
变更
93
显示空白变更内容
内联
并排
Showing
93 changed file
with
334 addition
and
150 deletion
+334
-150
docs/.vuepress/utils/cssJson.json
docs/.vuepress/utils/cssJson.json
+1
-1
docs/css/align-content.md
docs/css/align-content.md
+2
-0
docs/css/align-items.md
docs/css/align-items.md
+3
-1
docs/css/align-self.md
docs/css/align-self.md
+3
-1
docs/css/background-clip.md
docs/css/background-clip.md
+3
-1
docs/css/background-color.md
docs/css/background-color.md
+3
-1
docs/css/background-image.md
docs/css/background-image.md
+13
-11
docs/css/background.md
docs/css/background.md
+3
-1
docs/css/border-bottom-color.md
docs/css/border-bottom-color.md
+3
-1
docs/css/border-bottom-left-radius.md
docs/css/border-bottom-left-radius.md
+3
-1
docs/css/border-bottom-right-radius.md
docs/css/border-bottom-right-radius.md
+3
-1
docs/css/border-bottom-style.md
docs/css/border-bottom-style.md
+3
-1
docs/css/border-bottom-width.md
docs/css/border-bottom-width.md
+8
-6
docs/css/border-bottom.md
docs/css/border-bottom.md
+3
-1
docs/css/border-color.md
docs/css/border-color.md
+3
-1
docs/css/border-left-color.md
docs/css/border-left-color.md
+3
-1
docs/css/border-left-style.md
docs/css/border-left-style.md
+3
-1
docs/css/border-left-width.md
docs/css/border-left-width.md
+8
-6
docs/css/border-left.md
docs/css/border-left.md
+3
-1
docs/css/border-radius.md
docs/css/border-radius.md
+3
-1
docs/css/border-right-color.md
docs/css/border-right-color.md
+3
-1
docs/css/border-right-style.md
docs/css/border-right-style.md
+3
-1
docs/css/border-right-width.md
docs/css/border-right-width.md
+8
-6
docs/css/border-right.md
docs/css/border-right.md
+3
-1
docs/css/border-style.md
docs/css/border-style.md
+2
-0
docs/css/border-top-color.md
docs/css/border-top-color.md
+3
-1
docs/css/border-top-left-radius.md
docs/css/border-top-left-radius.md
+3
-1
docs/css/border-top-right-radius.md
docs/css/border-top-right-radius.md
+3
-1
docs/css/border-top-style.md
docs/css/border-top-style.md
+3
-1
docs/css/border-top-width.md
docs/css/border-top-width.md
+8
-6
docs/css/border-top.md
docs/css/border-top.md
+3
-1
docs/css/border-width.md
docs/css/border-width.md
+3
-1
docs/css/border.md
docs/css/border.md
+3
-1
docs/css/bottom.md
docs/css/bottom.md
+3
-1
docs/css/box-shadow.md
docs/css/box-shadow.md
+4
-2
docs/css/box-sizing.md
docs/css/box-sizing.md
+3
-1
docs/css/color.md
docs/css/color.md
+4
-2
docs/css/display.md
docs/css/display.md
+4
-2
docs/css/flex-basis.md
docs/css/flex-basis.md
+3
-1
docs/css/flex-direction.md
docs/css/flex-direction.md
+3
-1
docs/css/flex-flow.md
docs/css/flex-flow.md
+3
-1
docs/css/flex-grow.md
docs/css/flex-grow.md
+3
-1
docs/css/flex-shrink.md
docs/css/flex-shrink.md
+3
-1
docs/css/flex-wrap.md
docs/css/flex-wrap.md
+3
-1
docs/css/flex.md
docs/css/flex.md
+3
-1
docs/css/font-family.md
docs/css/font-family.md
+2
-0
docs/css/font-size.md
docs/css/font-size.md
+9
-7
docs/css/font-style.md
docs/css/font-style.md
+5
-3
docs/css/font-weight.md
docs/css/font-weight.md
+4
-2
docs/css/height.md
docs/css/height.md
+3
-1
docs/css/justify-content.md
docs/css/justify-content.md
+3
-1
docs/css/left.md
docs/css/left.md
+3
-1
docs/css/letter-spacing.md
docs/css/letter-spacing.md
+3
-1
docs/css/line-height.md
docs/css/line-height.md
+3
-1
docs/css/lines.md
docs/css/lines.md
+3
-1
docs/css/margin-bottom.md
docs/css/margin-bottom.md
+3
-1
docs/css/margin-left.md
docs/css/margin-left.md
+3
-1
docs/css/margin-right.md
docs/css/margin-right.md
+3
-1
docs/css/margin-top.md
docs/css/margin-top.md
+3
-1
docs/css/margin.md
docs/css/margin.md
+3
-1
docs/css/max-height.md
docs/css/max-height.md
+3
-1
docs/css/max-width.md
docs/css/max-width.md
+3
-1
docs/css/min-height.md
docs/css/min-height.md
+5
-3
docs/css/min-width.md
docs/css/min-width.md
+3
-1
docs/css/opacity.md
docs/css/opacity.md
+3
-1
docs/css/overflow.md
docs/css/overflow.md
+3
-1
docs/css/padding-bottom.md
docs/css/padding-bottom.md
+3
-1
docs/css/padding-left.md
docs/css/padding-left.md
+3
-1
docs/css/padding-right.md
docs/css/padding-right.md
+3
-1
docs/css/padding-top.md
docs/css/padding-top.md
+3
-1
docs/css/padding.md
docs/css/padding.md
+3
-1
docs/css/pointer-events.md
docs/css/pointer-events.md
+4
-2
docs/css/position.md
docs/css/position.md
+3
-1
docs/css/right.md
docs/css/right.md
+3
-1
docs/css/text-align.md
docs/css/text-align.md
+3
-1
docs/css/text-decoration-color.md
docs/css/text-decoration-color.md
+4
-2
docs/css/text-decoration-line.md
docs/css/text-decoration-line.md
+4
-2
docs/css/text-decoration-style.md
docs/css/text-decoration-style.md
+4
-2
docs/css/text-decoration-thickness.md
docs/css/text-decoration-thickness.md
+4
-2
docs/css/text-decoration.md
docs/css/text-decoration.md
+4
-2
docs/css/text-overflow.md
docs/css/text-overflow.md
+4
-2
docs/css/top.md
docs/css/top.md
+3
-1
docs/css/transform-origin.md
docs/css/transform-origin.md
+3
-1
docs/css/transform.md
docs/css/transform.md
+2
-0
docs/css/transition-delay.md
docs/css/transition-delay.md
+7
-5
docs/css/transition-duration.md
docs/css/transition-duration.md
+7
-5
docs/css/transition-property.md
docs/css/transition-property.md
+3
-1
docs/css/transition-timing-function.md
docs/css/transition-timing-function.md
+3
-1
docs/css/transition.md
docs/css/transition.md
+3
-1
docs/css/visibility.md
docs/css/visibility.md
+5
-3
docs/css/white-space.md
docs/css/white-space.md
+3
-1
docs/css/width.md
docs/css/width.md
+3
-1
docs/css/z-index.md
docs/css/z-index.md
+3
-1
未找到文件。
docs/.vuepress/utils/cssJson.json
浏览文件 @
cef2ba8f
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
docs/css/align-content.md
浏览文件 @
cef2ba8f
...
...
@@ -15,4 +15,6 @@
<!-- CSSJSON.align-content.compatibility -->
<!-- CSSJSON.align-content.example -->
<!-- CSSJSON.align-content.reference -->
docs/css/align-items.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.align-items.compatibility -->
<!-- CSSJSON.align-items.example -->
<!-- CSSJSON.align-items.reference -->
docs/css/align-self.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.align-self.compatibility -->
<!-- CSSJSON.align-self.example -->
<!-- CSSJSON.align-self.reference -->
docs/css/background-clip.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.background-clip.compatibility -->
<!-- CSSJSON.background-clip.example -->
<!-- CSSJSON.background-clip.reference -->
docs/css/background-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.background-color.compatibility -->
<!-- CSSJSON.background-color.example -->
<!-- CSSJSON.background-color.reference -->
docs/css/background-image.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.background-image.compatibility -->
<!-- CSSJSON.background-image.example -->
#### App平台
原生应用没有背景图,这是一种影响性能的设计。App平台也不支持背景图,仅支持linear-gradient设置一个背景渐变色。
linear-gradient仅支持三个参数,格式如下:
...
...
docs/css/background.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.background.compatibility -->
<!-- CSSJSON.background.example -->
<!-- CSSJSON.background.reference -->
docs/css/border-bottom-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-bottom-color.compatibility -->
<!-- CSSJSON.border-bottom-color.example -->
<!-- CSSJSON.border-bottom-color.reference -->
docs/css/border-bottom-left-radius.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-bottom-left-radius.compatibility -->
<!-- CSSJSON.border-bottom-left-radius.example -->
<!-- CSSJSON.border-bottom-left-radius.reference -->
docs/css/border-bottom-right-radius.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-bottom-right-radius.compatibility -->
<!-- CSSJSON.border-bottom-right-radius.example -->
<!-- CSSJSON.border-bottom-right-radius.reference -->
docs/css/border-bottom-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-bottom-style.compatibility -->
<!-- CSSJSON.border-bottom-style.example -->
<!-- CSSJSON.border-bottom-style.reference -->
docs/css/border-bottom-width.md
浏览文件 @
cef2ba8f
...
...
@@ -20,4 +20,6 @@
<!-- CSSJSON.border-bottom-width.compatibility -->
<!-- CSSJSON.border-bottom-width.example -->
<!-- CSSJSON.border-bottom-width.reference -->
docs/css/border-bottom.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-bottom.compatibility -->
<!-- CSSJSON.border-bottom.example -->
<!-- CSSJSON.border-bottom.reference -->
docs/css/border-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-color.compatibility -->
<!-- CSSJSON.border-color.example -->
<!-- CSSJSON.border-color.reference -->
docs/css/border-left-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-left-color.compatibility -->
<!-- CSSJSON.border-left-color.example -->
<!-- CSSJSON.border-left-color.reference -->
docs/css/border-left-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-left-style.compatibility -->
<!-- CSSJSON.border-left-style.example -->
<!-- CSSJSON.border-left-style.reference -->
docs/css/border-left-width.md
浏览文件 @
cef2ba8f
...
...
@@ -20,4 +20,6 @@
<!-- CSSJSON.border-left-width.compatibility -->
<!-- CSSJSON.border-left-width.example -->
<!-- CSSJSON.border-left-width.reference -->
docs/css/border-left.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-left.compatibility -->
<!-- CSSJSON.border-left.example -->
<!-- CSSJSON.border-left.reference -->
docs/css/border-radius.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.border-radius.compatibility -->
<!-- CSSJSON.border-radius.example -->
App平台目前不支持设置百分比。如需要裁剪正圆图片,暂无法使用100%。请使用与图片宽高相同的像素来裁剪。比如图片长宽250px,则设置 border-radius: 250px 可得一个正圆。
<!-- CSSJSON.border-radius.reference -->
docs/css/border-right-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-right-color.compatibility -->
<!-- CSSJSON.border-right-color.example -->
<!-- CSSJSON.border-right-color.reference -->
docs/css/border-right-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-right-style.compatibility -->
<!-- CSSJSON.border-right-style.example -->
<!-- CSSJSON.border-right-style.reference -->
docs/css/border-right-width.md
浏览文件 @
cef2ba8f
...
...
@@ -20,4 +20,6 @@
<!-- CSSJSON.border-right-width.compatibility -->
<!-- CSSJSON.border-right-width.example -->
<!-- CSSJSON.border-right-width.reference -->
docs/css/border-right.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-right.compatibility -->
<!-- CSSJSON.border-right.example -->
<!-- CSSJSON.border-right.reference -->
docs/css/border-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.border-style.compatibility -->
<!-- CSSJSON.border-style.example -->
<!-- CSSJSON.border-style.reference -->
## 注意事项
...
...
docs/css/border-top-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-top-color.compatibility -->
<!-- CSSJSON.border-top-color.example -->
<!-- CSSJSON.border-top-color.reference -->
docs/css/border-top-left-radius.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-top-left-radius.compatibility -->
<!-- CSSJSON.border-top-left-radius.example -->
<!-- CSSJSON.border-top-left-radius.reference -->
docs/css/border-top-right-radius.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-top-right-radius.compatibility -->
<!-- CSSJSON.border-top-right-radius.example -->
<!-- CSSJSON.border-top-right-radius.reference -->
docs/css/border-top-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-top-style.compatibility -->
<!-- CSSJSON.border-top-style.example -->
<!-- CSSJSON.border-top-style.reference -->
docs/css/border-top-width.md
浏览文件 @
cef2ba8f
...
...
@@ -20,4 +20,6 @@
<!-- CSSJSON.border-top-width.compatibility -->
<!-- CSSJSON.border-top-width.example -->
<!-- CSSJSON.border-top-width.reference -->
docs/css/border-top.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border-top.compatibility -->
<!-- CSSJSON.border-top.example -->
<!-- CSSJSON.border-top.reference -->
docs/css/border-width.md
浏览文件 @
cef2ba8f
...
...
@@ -17,4 +17,6 @@
<!-- CSSJSON.border-width.compatibility -->
<!-- CSSJSON.border-width.example -->
<!-- CSSJSON.border-width.reference -->
docs/css/border.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.border.compatibility -->
<!-- CSSJSON.border.example -->
<!-- CSSJSON.border.reference -->
docs/css/bottom.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.bottom.compatibility -->
<!-- CSSJSON.bottom.example -->
<!-- CSSJSON.bottom.reference -->
docs/css/box-shadow.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.box-shadow.compatibility -->
<!-- CSSJSON.box-shadow.example -->
#### App平台差异
-
app-ios平台 box-shadow 和 overflow: hidden 不能同时设置,添加了阴影会导致 overflow:hidden 失效.
-
app-ios平台 设置box-shadow的view背景无法透明,因为iOS系统 box-shadow 是在view的背景下绘制的,当view背景色为透明时,背景将显示box-shadow的颜色,因此为避免此差异建议给box-shadow的view设置非透明背景色
...
...
docs/css/box-sizing.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.box-sizing.compatibility -->
<!-- CSSJSON.box-sizing.example -->
<!-- CSSJSON.box-sizing.reference -->
docs/css/color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.color.compatibility -->
<!-- CSSJSON.color.example -->
#### App平台
App端 color 样式不支持继承,
...
...
docs/css/display.md
浏览文件 @
cef2ba8f
...
...
@@ -16,4 +16,6 @@
<!-- CSSJSON.display.compatibility -->
<!-- CSSJSON.display.example -->
<!-- CSSJSON.display.reference -->
docs/css/flex-basis.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex-basis.compatibility -->
<!-- CSSJSON.flex-basis.example -->
<!-- CSSJSON.flex-basis.reference -->
docs/css/flex-direction.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex-direction.compatibility -->
<!-- CSSJSON.flex-direction.example -->
<!-- CSSJSON.flex-direction.reference -->
docs/css/flex-flow.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex-flow.compatibility -->
<!-- CSSJSON.flex-flow.example -->
<!-- CSSJSON.flex-flow.reference -->
docs/css/flex-grow.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex-grow.compatibility -->
<!-- CSSJSON.flex-grow.example -->
<!-- CSSJSON.flex-grow.reference -->
docs/css/flex-shrink.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex-shrink.compatibility -->
<!-- CSSJSON.flex-shrink.example -->
<!-- CSSJSON.flex-shrink.reference -->
docs/css/flex-wrap.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex-wrap.compatibility -->
<!-- CSSJSON.flex-wrap.example -->
<!-- CSSJSON.flex-wrap.reference -->
docs/css/flex.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.flex.compatibility -->
<!-- CSSJSON.flex.example -->
<!-- CSSJSON.flex.reference -->
docs/css/font-family.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.font-family.compatibility -->
<!-- CSSJSON.font-family.example -->
### 字体设置
对于系统中已经存在的字体,font-family里直接写字体名称即可。
\
...
...
docs/css/font-size.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.font-size.compatibility -->
<!-- CSSJSON.font-size.example -->
#### App平台差异
App平台仅支持以像素值(px)和相对像素值(rpx)设置字体大小,默认值为16px。属性值可以不设置单位,不设置单位时当做 px 处理。
font-size 样式不支持继承,仅对
[
text
](
../component/text.md
)
组件生效。
...
...
docs/css/font-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.font-style.compatibility -->
<!-- CSSJSON.font-style.example -->
#### App平台差异
font-style 样式不支持继承
...
...
docs/css/font-weight.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.font-weight.compatibility -->
<!-- CSSJSON.font-weight.example -->
#### App平台差异
font-weight 样式不支持继承
...
...
docs/css/height.md
浏览文件 @
cef2ba8f
...
...
@@ -16,4 +16,6 @@
<!-- CSSJSON.height.compatibility -->
<!-- CSSJSON.height.example -->
<!-- CSSJSON.height.reference -->
docs/css/justify-content.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.justify-content.compatibility -->
<!-- CSSJSON.justify-content.example -->
<!-- CSSJSON.justify-content.reference -->
docs/css/left.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.left.compatibility -->
<!-- CSSJSON.left.example -->
<!-- CSSJSON.left.reference -->
docs/css/letter-spacing.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.letter-spacing.compatibility -->
<!-- CSSJSON.letter-spacing.example -->
<!-- CSSJSON.letter-spacing.reference -->
docs/css/line-height.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.line-height.compatibility -->
<!-- CSSJSON.line-height.example -->
#### App平台
App平台仅支持以像素值(px)、相对像素值(rpx)和相对当前元素字体字体单位(em),em单位表示数字值乘以该元素的字体大小,无单位值时使用em,默认值为1.2em。
line-height 样式不支持继承,仅对
[
text
](
../component/text.md
)
组件生效。
...
...
docs/css/lines.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.lines.compatibility -->
<!-- CSSJSON.lines.example -->
<!-- CSSJSON.lines.reference -->
docs/css/margin-bottom.md
浏览文件 @
cef2ba8f
...
...
@@ -18,4 +18,6 @@ app端不支持外边距重叠(上下外边距折叠合并为单个边距)
<!-- CSSJSON.margin-bottom.compatibility -->
<!-- CSSJSON.margin-bottom.example -->
<!-- CSSJSON.margin-bottom.reference -->
docs/css/margin-left.md
浏览文件 @
cef2ba8f
...
...
@@ -17,4 +17,6 @@ app端不支持外边距折叠
<!-- CSSJSON.margin-left.compatibility -->
<!-- CSSJSON.margin-left.example -->
<!-- CSSJSON.margin-left.reference -->
docs/css/margin-right.md
浏览文件 @
cef2ba8f
...
...
@@ -17,4 +17,6 @@ app端不支持外边距折叠
<!-- CSSJSON.margin-right.compatibility -->
<!-- CSSJSON.margin-right.example -->
<!-- CSSJSON.margin-right.reference -->
docs/css/margin-top.md
浏览文件 @
cef2ba8f
...
...
@@ -18,4 +18,6 @@ app端不支持外边距重叠(上下外边距折叠合并为单个边距)
<!-- CSSJSON.margin-top.compatibility -->
<!-- CSSJSON.margin-top.example -->
<!-- CSSJSON.margin-top.reference -->
docs/css/margin.md
浏览文件 @
cef2ba8f
...
...
@@ -18,4 +18,6 @@ app端不支持外边距重叠(上下外边距折叠合并为单个边距)
<!-- CSSJSON.margin.compatibility -->
<!-- CSSJSON.margin.example -->
<!-- CSSJSON.margin.reference -->
docs/css/max-height.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.max-height.compatibility -->
<!-- CSSJSON.max-height.example -->
<!-- CSSJSON.max-height.reference -->
docs/css/max-width.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.max-width.compatibility -->
<!-- CSSJSON.max-width.example -->
<!-- CSSJSON.max-width.reference -->
docs/css/min-height.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.min-height.compatibility -->
<!-- CSSJSON.min-height.example -->
#### App平台
在App端为了优化文字排版性能,不支持 auto、none、max-content、min-content、fit-content,默认值为0px。
...
...
docs/css/min-width.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.min-width.compatibility -->
<!-- CSSJSON.min-width.example -->
<!-- CSSJSON.min-width.reference -->
docs/css/opacity.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.opacity.compatibility -->
<!-- CSSJSON.opacity.example -->
<!-- CSSJSON.opacity.reference -->
docs/css/overflow.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.overflow.compatibility -->
<!-- CSSJSON.overflow.example -->
<!-- CSSJSON.overflow.reference -->
### Bug & Tips
...
...
docs/css/padding-bottom.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.padding-bottom.compatibility -->
<!-- CSSJSON.padding-bottom.example -->
<!-- CSSJSON.padding-bottom.reference -->
docs/css/padding-left.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.padding-left.compatibility -->
<!-- CSSJSON.padding-left.example -->
<!-- CSSJSON.padding-left.reference -->
docs/css/padding-right.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.padding-right.compatibility -->
<!-- CSSJSON.padding-right.example -->
<!-- CSSJSON.padding-right.reference -->
docs/css/padding-top.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.padding-top.compatibility -->
<!-- CSSJSON.padding-top.example -->
<!-- CSSJSON.padding-top.reference -->
docs/css/padding.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.padding.compatibility -->
<!-- CSSJSON.padding.example -->
<!-- CSSJSON.padding.reference -->
docs/css/pointer-events.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.pointer-events.compatibility -->
<!-- CSSJSON.pointer-events.example -->
#### App平台
如果当前元素设置 pointer-events 为 none ,当前元素不会响应事件和默认行为,如果此元素包含子元素,所有子元素也将不会响应事件和默认行为,即使子元素显式设置 pointer-events 为 auto。
...
...
docs/css/position.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.position.compatibility -->
<!-- CSSJSON.position.example -->
#### App平台差异
...
...
docs/css/right.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.right.compatibility -->
<!-- CSSJSON.right.example -->
<!-- CSSJSON.right.reference -->
docs/css/text-align.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.text-align.compatibility -->
<!-- CSSJSON.text-align.example -->
<!-- CSSJSON.text-align.reference -->
docs/css/text-decoration-color.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.text-decoration-color.compatibility -->
<!-- CSSJSON.text-decoration-color.example -->
#### App平台差异
+
text-decoration-color 样式不支持继承
+
App平台默认颜色为黑色,暂不支持设置
...
...
docs/css/text-decoration-line.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.text-decoration-line.compatibility -->
<!-- CSSJSON.text-decoration-line.example -->
#### App平台差异
+
text-decoration-line 样式不支持继承
+
App平台仅支持underline和line-through属性
...
...
docs/css/text-decoration-style.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.text-decoration-style.compatibility -->
<!-- CSSJSON.text-decoration-style.example -->
#### App平台差异
text-decoration-style 样式不支持继承
...
...
docs/css/text-decoration-thickness.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.text-decoration-thickness.compatibility -->
<!-- CSSJSON.text-decoration-thickness.example -->
#### App平台差异
text-decoration-thickness 样式不支持继承
...
...
docs/css/text-decoration.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.text-decoration.compatibility -->
<!-- CSSJSON.text-decoration.example -->
#### App平台差异
text-decoration 样式不支持继承
...
...
docs/css/text-overflow.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.text-overflow.compatibility -->
<!-- CSSJSON.text-overflow.example -->
#### App平台差异
text-overflow 样式不支持继承
...
...
docs/css/top.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.top.compatibility -->
<!-- CSSJSON.top.example -->
<!-- CSSJSON.top.reference -->
docs/css/transform-origin.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.transform-origin.compatibility -->
<!-- CSSJSON.transform-origin.example -->
<!-- CSSJSON.transform-origin.reference -->
docs/css/transform.md
浏览文件 @
cef2ba8f
...
...
@@ -21,4 +21,6 @@ web中经常使用scaleY缩放一个1px的线条变成0.5px的细线。这个方
<!-- CSSJSON.transform.compatibility -->
<!-- CSSJSON.transform.example -->
<!-- CSSJSON.transform.reference -->
docs/css/transition-delay.md
浏览文件 @
cef2ba8f
...
...
@@ -20,4 +20,6 @@
<!-- CSSJSON.transition-delay.compatibility -->
<!-- CSSJSON.transition-delay.example -->
<!-- CSSJSON.transition-delay.reference -->
docs/css/transition-duration.md
浏览文件 @
cef2ba8f
...
...
@@ -13,6 +13,8 @@
<!-- CSSJSON.transition-duration.compatibility -->
<!-- CSSJSON.transition-duration.example -->
#### App平台
-
不支持指定多个时长
-
HBuilderX4.0以下版本,属性值可以不设置单位,不设置单位时当做 ms(毫秒) 处理。从 HBuilderX4.0 起,统一为web的策略,必须设置单位,无单位当做非法值。也就是会造成动画不生效。
...
...
docs/css/transition-property.md
浏览文件 @
cef2ba8f
...
...
@@ -16,4 +16,6 @@
<!-- CSSJSON.transition-property.compatibility -->
<!-- CSSJSON.transition-property.example -->
<!-- CSSJSON.transition-property.reference -->
docs/css/transition-timing-function.md
浏览文件 @
cef2ba8f
...
...
@@ -16,4 +16,6 @@ App平台不支持指定多个过渡效果。
<!-- CSSJSON.transition-timing-function.compatibility -->
<!-- CSSJSON.transition-timing-function.example -->
<!-- CSSJSON.transition-timing-function.reference -->
docs/css/transition.md
浏览文件 @
cef2ba8f
...
...
@@ -18,4 +18,6 @@ transition暂不支持结束属性值为百分比。
<!-- CSSJSON.transition.compatibility -->
<!-- CSSJSON.transition.example -->
<!-- CSSJSON.transition.reference -->
docs/css/visibility.md
浏览文件 @
cef2ba8f
...
...
@@ -16,6 +16,8 @@
<!-- CSSJSON.visibility.compatibility -->
<!-- CSSJSON.visibility.example -->
#### App平台差异
App平台设置如果元素的 visibility 设置为 hidden,其子元素将不可见,即使子元素的 visibility 设置为 visible 也不可见。
...
...
docs/css/white-space.md
浏览文件 @
cef2ba8f
...
...
@@ -13,4 +13,6 @@
<!-- CSSJSON.white-space.compatibility -->
<!-- CSSJSON.white-space.example -->
<!-- CSSJSON.white-space.reference -->
docs/css/width.md
浏览文件 @
cef2ba8f
...
...
@@ -16,4 +16,6 @@
<!-- CSSJSON.width.compatibility -->
<!-- CSSJSON.width.example -->
<!-- CSSJSON.width.reference -->
docs/css/z-index.md
浏览文件 @
cef2ba8f
...
...
@@ -36,6 +36,8 @@ root
<!-- CSSJSON.z-index.compatibility -->
<!-- CSSJSON.z-index.example -->
### 平台差异
1.
app端z-index默认值为0,web端默认值为auto。position的默认值都是relative。
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录