Responsive Design
Built for Every Screen
Section titled “Built for Every Screen”SparkFeed is designed to work seamlessly on any device you use: desktop, tablet, or mobile.
Breakpoints
Section titled “Breakpoints”| Breakpoint | Width | Layout |
|---|---|---|
| Mobile | < 768px | Single column, bottom nav |
| Tablet | 768px – 1024px | Sidebar + Article list |
| Desktop | > 1024px | Full three-panel layout |
Mobile Layout
Section titled “Mobile Layout”On mobile, the three-panel layout collapses into a focused single-column experience:
┌──────────────────────┐│ Header (minimal) │├──────────────────────┤│ ││ Article List ││ (or Reader) ││ │├──────────────────────┤│ Home | Feeds | Star │ ← Bottom navigation└──────────────────────┘Key mobile behaviors:
- Swipe right to go back to the article list
- Swipe left to open the reader for the next article
- Pull to refresh the current feed
- Bottom sheet replaces modal dialogs
Touch Optimizations
Section titled “Touch Optimizations”All interactive elements are designed for touch:
- Minimum touch target size: 44×44px (Apple HIG / WCAG recommendation)
- Touch areas extend beyond visual boundaries using CSS
padding - No hover-only states. All hover effects have touch-equivalent interactions
Responsive Typography
Section titled “Responsive Typography”Text scales appropriately on smaller screens:
/* Example: reading view font size */.article-reader { font-size: clamp(15px, 2.2vw, 17px); line-height: 1.75; max-width: min(680px, 100%);}clamp() ensures text is never too small on tiny screens or too large on huge monitors.
Testing Responsiveness
Section titled “Testing Responsiveness”During development, test the UI at:
- 375px: iPhone SE (smallest common size)
- 768px: iPad portrait
- 1280px: Standard laptop
- 1920px: Full HD desktop
# Open Chrome DevTools → Device Mode (Ctrl+Shift+M)# Or test on a real device via local network access