You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utilities/borders.md
+34-34Lines changed: 34 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# Borders
1
+
# 边框 {#border}
2
2
3
-
## Border Radius
3
+
## 边框圆角 {#border-radius}
4
4
5
-
Utilities for controlling the border radius of an element.
5
+
用于控制元素边框圆角半径的工具类。
6
6
7
7
<PlaygroundWithBox
8
8
variant='3xl'
@@ -32,9 +32,9 @@ export default {
32
32
33
33
</Customizing>
34
34
35
-
## Border Width
35
+
## 边框宽度 {#border-width}
36
36
37
-
Utilities for controlling the width of an element's borders.
37
+
用于控制元素边框宽度的工具类。
38
38
39
39
<PlaygroundWithBox
40
40
mode='edges'
@@ -61,9 +61,9 @@ export default {
61
61
62
62
</Customizing>
63
63
64
-
## Border Color
64
+
## 边框颜色 {#border-color}
65
65
66
-
Utilities for controlling the color of an element's borders.
66
+
用于控制元素边框颜色的工具类。
67
67
68
68
<PlaygroundWithVariants
69
69
variant='gray-500'
@@ -74,7 +74,7 @@ Utilities for controlling the color of an element's borders.
74
74
75
75
<Customizing>
76
76
77
-
You can customize your color palette by editing the `theme.colors` section of your `windi.config.js`file, or customize just your border colors using the theme.borderColor section.
Utilities for controlling the border width between elements.
137
+
用于控制元素之间分割线宽度的工具类。
138
138
139
-
#### Divide Y
139
+
#### 纵向分割线 {#divide-y}
140
140
141
141
<PlaygroundWithVariants
142
142
variant=''
@@ -152,7 +152,7 @@ Utilities for controlling the border width between elements.
152
152
</div>'
153
153
/>
154
154
155
-
#### Divide X
155
+
#### 分割横向 {#divide-x}
156
156
157
157
<PlaygroundWithVariants
158
158
variant=''
@@ -170,7 +170,7 @@ Utilities for controlling the border width between elements.
170
170
171
171
<Customizing>
172
172
173
-
The divide width scale inherits its values from the `borderWidth`scale by default, so if you'd like to customize your values for both border width and divide width together, use the `theme.borderWidth` section of your `windi.config.js`file.
0 commit comments