Being able to change breakpoints unit #23061
bytepack
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
I want to be able to change the breakpoints unit.
Now it is px and can not be changed to other units.
Pixel unit media queries have some problems:
But Safari doesn't enlarge the text when px is used in media query.
You can read this thorough article.
https://zellwk.com/blog/media-query-units/
It describes the problem with pixel as the unit for media query.
Describe the solution you'd like
According to this article:
https://zellwk.com/blog/media-query-units/
and many top front-end teachers like Jonas Schmedtmann, the best unit for breakpoint media query is em.
It's a good idea to let us choose the breakpoint unit based on our projects requirements
Describe alternatives you've considered
No response
Additional context
No response
All reactions