Re:Why Tailwind CSS Won
by dalmo3 on Wednesday August 16, 2023 @08:52AM
(#37146302)
You don't need 5 question marks to tell us you don't know what breakpoints are.
[ Parent
| on HN ]
I know what breakpoints are. As far as I'm aware, there are no standard values for them.
Re:Why Tailwind CSS Won
by arrowsmith on Thursday August 17, 2023 @06:13AM
(#37159518)
Here, here are Tailwind's standard breakpoints:
'sm': '640px',
// => @media (min-width: 640px) { ... }
'md': '768px',
// => @media (min-width: 768px) { ... }
'lg': '1024px',
// => @media (min-width: 1024px) { ... }
'xl': '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
That's from the docs. https://tailwindcss.com/docs/screensIf you don't want those specific breakpoints in your project, you can override the defaults in `tailwind.config.js`.