Tailwind CSS Interview Questions. Q: What is utility-first CSS and what are its benefits?. Utility-first CSS uses small, single-purpose classes (like flex, mt-4, text-blue-500) directly in HTML instead of writing custom …
ReadResponsive, Dark Mode & Config. Responsive Breakpoints. sm — 640px+. md — 768px+. lg — 1024px+. xl — 1280px+. 2xl — 1536px+. <!-- Mobile-first: base = mobile, add breakpoints for larger screens --> <div class="text-sm md…
ReadUtility Classes & Layout. Spacing. <!-- Padding: p-{n}, px-{n}, py-{n}, pt/pr/pb/pl-{n} --> <div class="p-4"> <!-- padding: 16px --> <div class="px-6 py-3"> <!-- padding-x: 24px, padding-y: 12px --> <div class="pt-2 pb-8…
ReadSave this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.
Get started — free forever