Responsive css mobile viewport
Mobile-only CSS guardrails for drawers, backdrops, viewport units, and z-index.From its SKILL.md
npx -y skills add mhrsdev/AI-Agent-Skills-Library --skill responsive-css-mobile-viewportAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.6 KB, 87 tokens by cl100k_base, as published. Nobody here has run it
Responsive CSS mobile viewport
- Put visual mobile navigation changes inside the mobile media query only.
- Use fixed positioning for mobile drawer/backdrop.
- Use clear z-index layering: header below drawer controls, backdrop below drawer.
- Prefer
100dvhfor mobile viewport height when needed. - If menu content can exceed viewport height, make the drawer scroll internally.
- Closed drawer/backdrop must not receive pointer events.
What ships with it: 1 file
2.3 KB alongside SKILL.md
- README.md2.3 KB