Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const viewPort = document.createElement('meta');
- viewPort.setAttribute('name', 'viewport');
- viewPort.setAttribute('content', 'width=device-width, initial-scale=1');
- document.getElementsByTagName('head')[0].appendChild(viewPort);
Add Comment
Please, Sign In to add comment