flexbox-math
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFlexbox Math
Flexbox 布局数学计算
Use this skill for one-dimensional layout distribution. It focuses on the arithmetic that determines base sizes, free space, grow allocation, shrink allocation, and constraint clamping.
使用此技能进行一维布局分配。它专注于确定基础尺寸、可用空间、增长分配、收缩分配以及约束限制的算法。
Quick Start
快速开始
- Read to select the smallest relevant file set.
guidelines.md - Load for implementation decisions.
references/flex-distribution/rules.md - Load when editing code.
references/flex-distribution/examples.md - Use for multi-step derivation or debugging.
workflows/debug-flex-distribution.md
- 阅读以选择最小的相关文件集。
guidelines.md - 加载获取实现决策相关内容。
references/flex-distribution/rules.md - 编辑代码时加载。
references/flex-distribution/examples.md - 使用进行多步骤推导或调试。
workflows/debug-flex-distribution.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 5: Flexbox math.
Citations are tracked in .
references/source-map.md源自Paul McFedries所著《Math for Web Design》第5章:Flexbox数学计算。引用信息记录在中。
references/source-map.md