what i want is on a tablet / small device “Nearby Places of Interest” link and “Events and programs” link to have a font-size of 1 rem and right and left margins drawn in closer (still horizontal)… i would like to experiment on this, change the numbers to tweak AND learn the code itself
BOY am i curious what my code should look like
i have written dozens and dozens of media queries but have trouble here
Instead of doing of a whole bunch of media queries, you really should be looking a using CSS Grid and Flex. You can really design the website anyway you want to and the nice thing is if you don’t like the layout it’s very easy to change.
Grid and flex, as wonderful as they are, are not going to change font sizes.
But I totally agree, that so many media queries, at such close widths, do set alarm bells ringing.
It looks like a case for dynamic text sizing, using vw units. Though I still advise caution with that. Smaller text on smaller screens is not necessarily a good thing, unless you know every one of your users has 20/20 vision.
I only ever use dynamic text size with very large titles, that would not fit on a small screen, and then I will use calc to combine vw with em to tone down the effect.