Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know what breakpoints are. As far as I'm aware, there are no standard values for them.


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/screens

If you don't want those specific breakpoints in your project, you can override the defaults in `tailwind.config.js`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: