Files
training/.codex/skills/hallmark/references/components/s2-hanging.md
2026-07-28 19:31:07 +08:00

14 lines
357 B
Markdown

### S2 · Hanging
Heading floats above the section in negative space; no border, no rule.
*Use when:* the content has a quiet, room-to-breathe energy.
*Don't confuse with:* S3 Sticky-pinned (which moves with scroll).
```html
<header class="head-hang">
<h2></h2>
</header>
```
```css
.head-hang { padding-block: var(--space-3xl) var(--space-xl); }
```