Skip to content

Instantly share code, notes, and snippets.

@kyktommy
Last active December 10, 2015 14:58
Show Gist options
  • Save kyktommy/4450790 to your computer and use it in GitHub Desktop.
Save kyktommy/4450790 to your computer and use it in GitHub Desktop.
Responsive test bookmark
javascript:document.write(%27%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3Cmeta%20charset%3D%22utf-8%22%3E%3Ctitle%3EResponsive%20Design%20Testing%3C/title%3E%3Cstyle%3Ebody%20%7B%20margin:%2020px%3B%20font-family:%20sans-serif%3B%20overflow-x:%20scroll%3B%20%7D.wrapper%20%7B%20width:%206000px%3B%20%7D.frame%20%7B%20float:%20left%3B%20%7Dh2%20%7B%20margin:%200%200%205px%200%3B%20%7Diframe%20%7B%20margin:%200%2020px%2020px%200%3B%20border:%201px%20solid%20%23666%3B%20%7D%3C/style%3E%3C/head%3E%3Cbody%3E%3Cdiv%20class%3D%22wrapper%22%3E%3Cdiv%20class%3D%22frame%22%3E%3Ch2%3E240%3Cspan%3E%20x%20320%3C/span%3E%20%3Csmall%3E(mobile)%3C/small%3E%3C/h2%3E%3Ciframe%20src%3D%22%27%20%2B%20window.location%20%2B%20%27%22%20sandbox%3D%22allow-same-origin%20allow-forms%22%20seamless%20width%3D%22240%22%20height%3D%22320%22%3E%3C/iframe%3E%3C/div%3E%3Cdiv%20class%3D%22frame%22%3E%3Ch2%3E320%3Cspan%3E%20x%20480%3C/span%3E%20%3Csmall%3E(mobile)%3C/small%3E%3C/h2%3E%3Ciframe%20src%3D%22%27%20%2B%20window.location%20%2B%20%27%22%20sandbox%3D%22allow-same-origin%20allow-forms%22%20seamless%20width%3D%22320%22%20height%3D%22480%22%3E%3C/iframe%3E%3C/div%3E%3Cdiv%20class%3D%22frame%22%3E%3Ch2%3E480%3Cspan%3E%20x%20640%3C/span%3E%20%3Csmall%3E(small%20tablet)%3C/small%3E%3C/h2%3E%3Ciframe%20src%3D%22%27%20%2B%20window.location%20%2B%20%27%22%20sandbox%3D%22allow-same-origin%20allow-forms%22%20seamless%20width%3D%22480%22%20height%3D%22640%22%3E%3C/iframe%3E%3C/div%3E%3Cdiv%20class%3D%22frame%22%3E%3Ch2%3E768%3Cspan%3E%20x%201024%3C/span%3E%20%3Csmall%3E(tablet%20-%20portrait)%3C/small%3E%3C/h2%3E%3Ciframe%20src%3D%22%27%20%2B%20window.location%20%2B%20%27%22%20sandbox%3D%22allow-same-origin%20allow-forms%22%20seamless%20width%3D%22768%22%20height%3D%221024%22%3E%3C/iframe%3E%3C/div%3E%3Cdiv%20class%3D%22frame%22%3E%3Ch2%3E1024%3Cspan%3E%20x%20768%3C/span%3E%20%3Csmall%3E(tablet%20-%20landscape)%3C/small%3E%3C/h2%3E%3Ciframe%20src%3D%22%27%20%2B%20window.location%20%2B%20%27%22%20sandbox%3D%22allow-same-origin%20allow-forms%22%20seamless%20width%3D%221024%22%20height%3D%22768%22%3E%3C/iframe%3E%3C/div%3E%3Cdiv%20class%3D%22frame%22%3E%3Ch2%3E1200%3Cspan%3E%20x%20800%3C/span%3E%20%3Csmall%3E(desktop)%3C/small%3E%3C/h2%3E%3Ciframe%20src%3D%22%27%20%2B%20window.location%20%2B%20%27%22%20sandbox%3D%22allow-same-origin%20allow-forms%22%20seamless%20width%3D%221200%22%20height%3D%22800%22%3E%3C/iframe%3E%3C/div%3E%3C/div%3E%3C/body%3E%3C/html%3E%27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment