Skip to content

Using more than 2 Breakpoints #4072

Discussion options

You must be logged in to vote

Hi!

From the docs: https://tailwindcss.com/docs/breakpoints#extending-the-default-breakpoints

"If you want to add an additional small breakpoint, you can't use extend because the small breakpoint would be added to the end of the breakpoint list, and breakpoints need to be sorted from smallest to largest in order to work as expected with a min-width breakpoint system.

Instead, override the entire screens key, re-specifying the default breakpoints:"

Cheers,
Martin.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@firdausbaihaqi
Comment options

Comment options

You must be logged in to vote
1 reply
@firdausbaihaqi
Comment options

Answer selected by firdausbaihaqi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants