Responsive Web Design (RWD) means your site looks and works great on every screen size — from a 320px phone to a 4K monitor.
Over 60% of web traffic comes from mobile devices. Starting with mobile forces you to prioritize content and keep layouts clean. It's also easier to add complexity for larger screens than to remove it.
<meta name="viewport" content="width=device-width, initial-scale=1">
Without this, mobile browsers zoom out and render the desktop layout. Always include it.
/* Mobile default: no query */
/* Tablet */
@media (min-width: 640px) { ... }
/* Desktop */
@media (min-width: 1024px) { ... }
/* Wide desktop */
@media (min-width: 1280px) { ... }