Skip to content

Instantly share code, notes, and snippets.

@donwilson
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donwilson/3e863598ce041071be0f to your computer and use it in GitHub Desktop.
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.
<?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