3 ms·
"Put that in a media query to only target phones/small devices." Tone: Honest question. What's that, exactly? I've been trying to figure that out off and on f
by jerf 8y ago
"Put that in a media query to only target phones/small devices."
Tone: Honest question. What's that, exactly?
I've been trying to figure that out off and on for the last, oh, 5 or 6 years, and I keep bouncing off the problem as being too complicated to be worth it for my personal site. If there's a clean answer that has developed in the time since I basically gave up, I'd (again, no sarcasm) love to hear it. But I'd probably need a link to something; Google is clogged with old stuff here.
- kryptiskt 8y agoMedia queries are ways to only apply a bunch of CSS on clients that fulfill some conditions. If I write: @media (max-width: 500px) { p { font-style: italic; } } It will turn the text in p tags italic on small screens.