Styling and Accessibility

Harry · 22 Sep 2026 · 1 views
Log in to track your progress and mark lessons complete.

Styling Options

  • Tailwind - utility-first, responsive and dark mode built in.
  • CSS Modules - scoped class names with zero deps.
  • Bootstrap - fast admin and CRUD UIs.

Dark Mode

Toggle a dark class on the document root, persist to localStorage, and style with dark: variants.

Accessibility

Use semantic HTML, labels, aria attributes, keyboard support and visible focus states.

Key Points

  • Build reusable Button, Input and Card primitives.
  • Responsive prefixes: sm, md, lg.
  • Accessibility is a feature, not an extra.
Share this post:

Comments (0)

Please login or register to comment.

Create a free account to keep reading

You've enjoyed a free tutorial! Register (it's free) to unlock every tutorial, track your progress and save code.

or sign in with your account

Already have an account? Log in