Skip to content

Instantly share code, notes, and snippets.

@hmmhmmhm
Created April 28, 2024 22:59
Show Gist options
  • Save hmmhmmhm/fe6f2d1c54079f171b29b90af4fd0eae to your computer and use it in GitHub Desktop.
Save hmmhmmhm/fe6f2d1c54079f171b29b90af4fd0eae to your computer and use it in GitHub Desktop.
Tailwind Responsive Config (xs, 2xs, 3xs, 4xs, 5xs, 6xs, 7xs)
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