Skip to content
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

How to display the iPad Pro in landscape mode? #2

Open
jayniz opened this issue Sep 19, 2017 · 2 comments
Open

How to display the iPad Pro in landscape mode? #2

jayniz opened this issue Sep 19, 2017 · 2 comments

Comments

@jayniz
Copy link

jayniz commented Sep 19, 2017

This is great! I was wondering if there's an easy way to display the iPad Pro in landscape mode, instead of portrait?

@picturepan2
Copy link
Owner

picturepan2 commented Sep 20, 2017

@jayniz The easiest way is adding transform: rotate(90deg); to the .device-ipad-pro. Please note that the container size is still rendered as portrait mode.

@tmaly1980
Copy link

This unfortunately rotates the image as well. It also cuts off the device for some reason, rather than fitting to the container. Is there another solution, ie one that can be added to the CSS? This is preventing me from using this library.

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

No branches or pull requests

3 participants