Skip to content

Instantly share code, notes, and snippets.

@mrpapercut
mrpapercut / Viewport Helper
Last active November 19, 2016 19:17
Google Chrome 49 removed the Viewport Helper, an indicator that shows the dimensions of the current window. Especially useful when developing a responsive website
(() => {
const vpd = document.createElement('div'),
st = {
'position': 'fixed',
'right': '0',
'top': '0',
'border': '5px solid #ccc',
'background': '#ccc',
'font-family': 'Arial',
'font-size': '13px',