diff --git a/utilities/grid.md b/utilities/grid.md index 70fb671d..6b05c60b 100644 --- a/utilities/grid.md +++ b/utilities/grid.md @@ -2,7 +2,7 @@ ## Grid -Use `grid` to create a grid container. +使用 `grid` 创建一个网格容器。 -You can customize the global spacing scale in the theme.spacing or theme.extend.spacing sections of your windi.config.js file: +你可以使用 theme.spacing 或者 theme.extend.spacing 来自定义全局间隔比例,配置项如下: ```js windi.config.js export default { @@ -546,7 +546,7 @@ export default { } ``` -To customize the gap scale separately, use the gap section of your Tailwind theme config. +在 Tailwind 主题配置中使用 gap 来自定义间隔,配置如下。 ```js windi.config.js export default { @@ -564,7 +564,7 @@ export default { ## Gap X -Utilities for controlling gutters between grid columns. +用于控制网格列间隔的工具类。