Myk Escala• 600
@Mikoyzskie
Posted
Hey Karan!
- First of, clean code. Very organized.
- In Tailwindcss, we use the classnames sm,md,lg, and xl for viewport widths or device widths
- For example, if you want your flex-direction to be row on larger screens and column on smaller screens, you use "flex-col md:flex-row"
- Since sm: / md: / lg: and so on is min-width not max-width
- Hope this helps
https://tailwindcss.com/docs/responsive-design#working-mobile-first
Marked as helpful
1