Skip to content

Commit

Permalink
doc(*): fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
shangqunfeng committed Jun 2, 2024
1 parent a7a4b09 commit db47e94
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs-vuepress/rn-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ enum: absolute, relative, 默认relative。
##### 语法
``` css
position: absolute;
position: relative;

```
#### top|right|left|bottom
设置元素的不同方向的偏移量
Expand All @@ -99,9 +101,8 @@ number: px,rpx,%
##### 语法
``` css
top: 10px;
left: 10px;
bottom: 10px;
right: 10px;
top: 10rpx;
top: 10%;
```
#### z-index
控制着元素的堆叠覆盖顺序。
Expand Down

0 comments on commit db47e94

Please sign in to comment.