kmshdev/plugins/css-centering
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Select, implement, or debug CSS centering for blocks, inline content, unknown-size content, overlays, dialogs, and absolute positioning. Use when horizontal or vertical centering is the specific outcome, not for general layout architecture.
Install
npx vskill@latest install kmshdev/plugins/css-centeringSKILL.md
CSS centering
Decision workflow
- Identify the centering box, axis, available size, and whether the child has a known size.
- Use Grid
place-items: centerfor two-axis centering in a dedicated container. - Use Flexbox when centering participates in a one-dimensional distribution.
- Use auto inline margins for a sized block in normal flow.
- Use logical inset plus translate for an independently positioned overlay; account for transforms already owned by the element.
- For dialogs, prefer the platform's dialog/popover positioning and preserve safe-area and small-viewport access.
Checks
- Verify overflow does not make content unreachable.
- Use logical properties for writing modes and bidirectional layouts.
- Test zoom, dynamic content, virtual keyboards, and reduced motion.
- Do not use line-height hacks for multi-line or unknown content.
Return the chosen centering context, CSS, known-size assumptions, and failure cases. Topic source: https://design.dev/guides/css-centering/.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/css-tokenography/skills/css-centering/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmshdev/plugins/css-centering)