Z-Index Convention
9999Emergency overlayAlerts, critical
1000Modal backdropDialog overlays
900Modal contentDialog itself
800Toast / SnackbarNotifications
700TooltipHover hints
600DropdownSelect menus
500Sticky navFixed header
400Sidebar / drawerSlide panels
300Overlay bgDimmer layer
100Floating UIFAB, badges
10Above contentHover states
1Base raisedNormal stacking
-1Behind contentDecorative bg
Responsive Breakpoints
📱 xs — Mobile< 480px
1 column · 16px padding
📱 sm — Mobile L480–767px
1–2 cols · 540px max-w · 20px padding
💻 md — Tablet768–1023px
2–3 cols · 720px max-w · 24px padding
🖥 lg — Desktop1024–1279px
3–4 cols · 960px max-w · 32px padding
🖥 xl — Wide1280–1535px
4–6 cols · 1200px max-w · 40px padding
🖥 2xl — Ultra> 1536px
Full layout · 1400px max-w · centered
CSS Easing Reference
ease
cubic-bezier(0.25, 0.1, 0.25, 1.0)
ease-in
cubic-bezier(0.42, 0, 1.0, 1.0)
ease-out
cubic-bezier(0, 0, 0.58, 1.0)
ease-in-out
cubic-bezier(0.42, 0, 0.58, 1.0)
Ease Out Quart ✦
cubic-bezier(0.25, 1, 0.5, 1)
Ease Out Expo ✦
cubic-bezier(0.16, 1, 0.3, 1)
Ease Out Back ✦
cubic-bezier(0.34, 1.56, 0.64, 1)
Ease In Back ✦
cubic-bezier(0.36, 0, 0.66, -0.56)
step-start
steps(1, start)
Font Weights
100ThinThe quick brown fox
200ExtraLightThe quick brown fox
300LightThe quick brown fox
400RegularThe quick brown fox
500MediumThe quick brown fox
600SemiBoldThe quick brown fox
700BoldThe quick brown fox
800ExtraBoldThe quick brown fox
900BlackThe quick brown fox
Line Height Guide
1.0Display headings only. Never use for body text — too tight to read at small sizes.
1.2Tight heading. Good for H1–H3 at 32px+. Elegant at large sizes.
1.4Medium. Good for subheadings and short descriptive text blocks.
1.6 ✦Ideal body text. The sweet spot for screen reading comfort.
1.8Relaxed. Good for long-form articles, docs, accessibility-focused designs.
2.0Very open. Tables, code, list items. Too loose for body prose.
Grid Systems
4-col — Mobile
4 cols · 16px gutter · 16px margin
8-col — Tablet
8 cols · 20px gutter · 24px margin
12-col — Desktop
12 cols · 24px gutter · 40px margin · 1200px max-w
CSS Grid snippet
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 24px;
Auto-fill pattern
grid-template-columns:
repeat(auto-fill, minmax(280px, 1fr));