Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Kiro
on June 19, 2022
|
parent
|
context
|
favorite
| on:
Mobile-First CSS: Is It Time for a Rethink?
I don't even use media queries anymore. I detect if mobile and use conditional styling in my components. Way less headache.
adamredwoods
on June 20, 2022
[–]
In my experience, reactive media queries require less long-term maintenance. Anytime there's a strange re-sizing side-effect, it's someone using an isMobile flag.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: