Upgrade to Pro — share decks privately, control downloads, hide ads and more …

一起移动吧-基础篇

 一起移动吧-基础篇

time zhong

August 30, 2013
Tweet

More Decks by time zhong

Other Decks in Technology

Transcript

  1. 可见视口(visual viewport)和 布局视口(layout viewport) • Imagine the layout viewport as

    being a large image which does not change size or shape. Now image you have a smaller frame through which you look at the large image. The small frame is surrounded by opaque material which obscures your view of all but a portion of the large image. The portion of the large image that you can see through the frame is the visual viewport. You can back away from the large image while holding your frame (zoom out) to see the entire image at once, or you can move closer (zoom in) to see only a portion. You can also change the orientation of the frame, but the size and shape of the large image (layout viewport) never changes.