Skip to content

Modify the relative units section #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yoavweiss opened this issue Aug 27, 2013 · 3 comments · Fixed by #33
Closed

Modify the relative units section #32

yoavweiss opened this issue Aug 27, 2013 · 3 comments · Fixed by #33
Assignees

Comments

@yoavweiss
Copy link
Member

The relative units section in the use-cases document doesn't define the problem well IMO. The linked article is preferring the use of EMs because of an old WebKit bug impacting zoom+/- on px based MQs, that was since fixed.

The real reason EM based breakpoints should be preferred in RWD is that the user's font size preferences can impact the MQs, unlike PX based MQs.

It may also be possible that some devices have em/px ratio other than 16, meaning that they may look broken if breakpoints are set in px only.

@yoavweiss
Copy link
Member Author

Waiting for @nwtn to add a matching illustration

@marcoscaceres
Copy link
Contributor

Yippy! once we have this we can republish!

@ghost ghost assigned nwtn Sep 4, 2013
@nwtn
Copy link
Contributor

nwtn commented Sep 8, 2013

I mocked up these images, but I'm not feeling confident that they explain the issue, and I'm not sure what the best way to present them is. Feedback welcome.

units-px-camera-man-1
units-px-camera-man-2
units-px-camera-man-3
units-em-camera-man-1
units-em-camera-man-2
units-em-camera-man-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants