Problem Statement
Explain the mobile-first approach in responsive design.
Explanation
Mobile-first means designing and coding for smaller screens first, then progressively enhancing for larger screens using min-width media queries. This ensures performance, better UX, and scalability.
Code Solution
SolutionRead Only
@media (min-width: 768px) { .grid { grid-template-columns: 1fr 1fr; } }