devices.css icon indicating copy to clipboard operation
devices.css copied to clipboard

How to display the iPad Pro in landscape mode?

Open jayniz opened this issue 7 years ago • 2 comments

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

jayniz avatar Sep 19 '17 12:09 jayniz

@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.

picturepan2 avatar Sep 20 '17 01:09 picturepan2

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.

tmaly1980 avatar Feb 07 '23 16:02 tmaly1980