Responsive Javascript Example

Click to check layout

Landscape
Portrait