3 ms·
Tailwind has the sm: lg: and xl: prefixes that let you target screen size. eg. you can give an element a class of "sm:p-2 lg:p-4 xl:p-8" to give different padd
by legopeice 4y ago
Tailwind has the sm: lg: and xl: prefixes that let you target screen size.
eg. you can give an element a class of "sm:p-2 lg:p-4 xl:p-8" to give different padding sizes.
the docs are here: https://tailwindcss.com/docs/responsive-design https://tailwindcss.com/docs/responsive-design