Skip to content

Instantly share code, notes, and snippets.

View mattbullen's full-sized avatar

Matthew M. S. Bullen mattbullen

View GitHub Profile
@mattbullen
mattbullen / image-list
Last active August 29, 2015 14:00
A quick work-around to push a folder of image files from the server into an HTML list on a page.
<div id="image-wrapper">
<li id="image-list">
<?php
$counter = 0;
$directory = "images/";
$images = glob($directory . "*.png");
foreach($images as $image) { //Open bracket
?>
@mattbullen
mattbullen / glow-buttons
Last active August 29, 2015 14:00
Animated button effect using CSS3 radio inputs and easing.
<!--- A pattern for a custom button in CSS3, based loosely on
something I saw online a year ago (forgot where). The button
has a colored bar on its far left edge. On click, the bar swoops
across the length of the button to rest on the far right edge. -->
<!--- HTML5 --->
<div class="glow-button">
<a href="/.../fileName.fileExtension"> </a>