Last active
January 9, 2020 19:03
-
-
Save rnmp/a47a1e32bc1db53cb7fdba6c5a789351 to your computer and use it in GitHub Desktop.
Revisions
-
Rolando Murillo revised this gist
Jan 9, 2020 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ <html> <body><script>document.body.innerHTML = ` <h1>Alright, alright, alright</h1> <p>Screen resolution: ${window.screen.width}x${window.screen.height} <p>Window resolution: ${window.innerWidth}x${window.innerHeight} `; </script></body> </html> -
Rolando Murillo created this gist
Jan 9, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ <script>document.body.innerHTML = ` <h1>Alright, alright, alright</h1> <p>Screen resolution: ${window.screen.width}x${window.screen.height} <p>Window resolution: ${window.innerWidth}x${window.innerHeight} `; </script>