スキル一覧に戻る
Brutus88Ai

mobile-design

by Brutus88Ai

Industrial Metal Website f

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: mobile-design description: Mobile-First Responsive Design Guidelines

Mobile Design

Kern-Prinzip: Mobile First

Alle Styles zuerst für 320px Viewport schreiben, dann nach oben erweitern.

Breakpoints (Tailwind Standard)

PrefixMin-WidthBeschreibung
(none)0pxMobile
sm:640pxLarge Phone
md:768pxTablet
lg:1024pxDesktop
xl:1280pxLarge Desktop
2xl:1536pxWide Screen

Layout-Patterns

1. Stack → Grid

<div className="
  flex flex-col gap-4          // Mobile: Stack
  md:grid md:grid-cols-2       // Tablet: 2 Columns
  lg:grid-cols-3               // Desktop: 3 Columns
">

2. Hidden Elements

// Desktop-Only Navigation
<nav className="hidden lg:flex">

// Mobile-Only Hamburger
<button className="lg:hidden">☰</button>

3. Text Scaling

<h1 className="
  text-2xl           // Mobile
  sm:text-3xl        // Phone+
  lg:text-5xl        // Desktop
">

Touch-Optimierung

1. Touch Targets (MINIMUM 44x44px)

<button className="p-3 min-h-[44px] min-w-[44px]">

2. Swipe-Areas

// Padding für Swipe-Gesten an Screen-Kanten
<div className="px-4 sm:px-6 lg:px-8">

3. Kein Hover auf Mobile

// Hover nur für Maus-Geräte
className="md:hover:bg-white/10"  // Nur ab Tablet
// ODER mit @media (hover: hover)

Performance auf Mobile

  1. Lazy Loading für Bilder
  2. Reduced Motion respektieren:
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; }
}
  1. Viewport Meta korrekt:
<meta name="viewport" content="width=device-width, initial-scale=1">

Checkliste

  • Alle Layouts starten mit Mobile-Style
  • Touch-Targets mindestens 44x44px
  • Responsive Breakpoints getestet (320px, 768px, 1024px)
  • Kein kritischer Content versteckt auf Mobile
  • Font-Size lesbar ohne Zoom (min. 16px Body)

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です