- Created `openspec-ff-change` skill for fast-forward artifact creation. - Introduced `openspec-new-change` skill for structured change creation. - Developed `openspec-onboard` skill for guided onboarding through OpenSpec workflow. - Added `openspec-sync-specs` skill for syncing delta specs to main specs. - Implemented `openspec-verify-change` skill for verifying implementation against change artifacts. - Updated `.gitignore` to exclude OpenSpec generated files. - Added `skills-lock.json` to manage skill dependencies.
770 B
770 B
name, description
| name | description |
|---|---|
| layout-aspect-ratio | Controlling element aspect ratio for responsive media |
Aspect Ratio
Utilities for controlling the aspect ratio of an element (e.g. video, images).
Usage
<!-- 16:9 video container -->
<div class="aspect-video">
<iframe src="..."></iframe>
</div>
<!-- 4:3 -->
<div class="aspect-[4/3]">Content</div>
<!-- Square -->
<div class="aspect-square">1:1</div>
<!-- Auto (intrinsic) -->
<div class="aspect-auto">Natural ratio</div>
Key Points
aspect-video- 16:9aspect-square- 1:1aspect-auto- browser default (intrinsic)aspect-[4/3]- arbitrary ratio- Useful for responsive video embeds and image containers