Created
April 28, 2024 22:59
-
-
Save hmmhmmhm/fe6f2d1c54079f171b29b90af4fd0eae to your computer and use it in GitHub Desktop.
Tailwind Responsive Config (xs, 2xs, 3xs, 4xs, 5xs, 6xs, 7xs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { Config } from "tailwindcss"; | |
import { theme } from "tailwindcss/defaultConfig"; | |
const config: Config = { | |
theme: { | |
screens: { | |
...theme?.screens, | |
xs: "375px", | |
"2xs": "320px", | |
"3xs": "280px", | |
"4xs": "240px", | |
"5xs": "200px", | |
"6xs": "160px", | |
"7xs": "120px", | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment