Reference docMembers
可编辑 PPTX 导出:HTML 硬约束 + 尺寸决策 + 常见错误
可编辑 PPTX 导出:HTML 硬约束 + 尺寸决策 + 常见错误 is a reference document for Claude Code, written by One Giant Leap. The full text is about 1,324 words in 22 sections, with 10 code blocks and 11 tables. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.
It is most useful for people working in Design who use Claude Code.
What it covers
- 画布尺寸:用 960×540pt(LAYOUTWIDE)
- 3 个候选尺寸对比
- body 写法三选一(等价)
- 4 条硬约束(违反会直接报错)
- 规则 1:DIV 里不能直接写文字 - 必须用 <p> 或 <h1>-<h6> 包裹
- 规则 2:不支持 CSS 渐变 - 只能用纯色
- 规则 3:背景/边框/阴影只能在 DIV 上,不能在文字标签上
- 规则 4:DIV 不能用 background-image - 用 <img> 标签
- Path A HTML 模板骨架
- 常见错误速查
The full text is in the members library
Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.
Source: written by One Giant Leap.