Last active
April 21, 2023 22:36
-
-
Save jasonhejna/4336f3ead15e299c51a8 to your computer and use it in GitHub Desktop.
Test a website in 4k resolution without a 4k monitor
This file contains 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 characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>4k website tester</title> | |
<style> | |
iframe:focus { | |
outline: none; | |
} | |
iframe{ | |
position: absolute; | |
top:0px; | |
left:0px; | |
} | |
</style> | |
</head> | |
<body> | |
<!-- CHANGE THE SRC TO THE PAGE YOU WANT TO DISPLAY --> | |
<iframe src="http://localhost/index.html" width="4096px" height="2160px" frameborder="0"></iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment