css-grid-math
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCSS Grid Math
CSS Grid 布局计算
Use this skill when a grid needs to be reasoned about as a coordinate and sizing system. It helps calculate where items land, how tracks divide space, and why flexible tracks do not always produce expected widths.
当需要将网格作为坐标和尺寸系统进行分析时,可以使用此技能。它有助于计算元素的定位、轨道如何划分空间,以及弹性轨道为何不总是产生预期宽度的原因。
Quick Start
快速入门
- Read to select the smallest relevant file set.
guidelines.md - Load for implementation decisions.
references/grid-layout/rules.md - Load when editing code.
references/grid-layout/examples.md - Use for multi-step derivation or debugging.
workflows/debug-grid-layout.md
- 阅读以选择最相关的最小文件集。
guidelines.md - 加载获取实现决策相关内容。
references/grid-layout/rules.md - 编辑代码时加载。
references/grid-layout/examples.md - 进行多步骤推导或调试时,使用。
workflows/debug-grid-layout.md
Contents
目录
| Resource | Purpose |
|---|---|
| Routes tasks to the right reference files |
| Book source and chapter/section traceability |
| Core concepts and terminology |
| Practical rules, guidelines, and exceptions |
| Bad/good examples and refactoring approach |
| Reusable formula and implementation patterns |
| Review checklist and red flags |
| Step-by-step workflow |
| 资源 | 用途 |
|---|---|
| 将任务引导至对应的参考文件 |
| 书籍来源及章节/段落可追溯性 |
| 核心概念与术语 |
| 实用规则、指南及例外情况 |
| 错误/正确示例及重构方法 |
| 可复用公式与实现模式 |
| 审核清单与警示信号 |
| 分步工作流程 |
Source
来源
Derived from Math for Web Design by Paul McFedries, Chapter 4: CSS Grid math.
Citations are tracked in .
references/source-map.md改编自Paul McFedries所著的《Math for Web Design》第4章:CSS Grid数学计算。引用信息记录在中。
references/source-map.md