12 ms·
Just curious, what utility div classes and what frameworks? I've tried using tailwind and semantic ui very briefly, but wasn't aware they provided any responsi
by codemonkey-zeta 4y ago
Just curious, what utility div classes and what frameworks?
I've tried using tailwind and semantic ui very briefly, but wasn't aware they provided any responsive-oriented classes.
- acover 4y agoMaybe things like tailwind's max-w-lg which let's you use a media query to set the width.
- legopeice 4y agoTailwind 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
- 1123581321 4y agoBootstrap or tailwind, plus a handful copied from project to project. Just the usual fractions of width, width and aspect ratio constraints, padding, and so on.