Last active
August 29, 2015 14:20
-
-
Save donwilson/3e863598ce041071be0f to your computer and use it in GitHub Desktop.
https://twitter.com/Dinnerbone/status/595224755126534144 The following picture is meaningless and is probably not even worth your time clicking on it.
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
<?php $height = (!empty($_REQUEST['height'])?$_REQUEST['height']:128); ?><style type="text/css"> | |
.image { width: 2px; float: left; background-image: url('http://media.dinnerbone.com/uploads/2015-05/screenshots/04_15-51-30_LLw4sOTM2a.png'); background-position: 0 0; } | |
</style> | |
<p><a href="?height=<?=($height-1);?>">Less</a> | <?=$height;?> | <a href="?height=<?=($height+1);?>">More</a></p> | |
<div style="display: table; width: 100%; height: <?=$height;?>px;"><?php | |
for($i = 1; $i <= 427; $i++) { ?><div class="image" style="height: <?=$height;?>px; background-position: 0 -<?=($height * ($i - 1));?>px;"></div><?php } | |
?></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment