Skip to content

Instantly share code, notes, and snippets.

Ben Hodgson benhodgson87

Block or report user

Report or block benhodgson87

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@benhodgson87
benhodgson87 / dateformat.html
Last active Dec 31, 2015
Date formatting function for Example ballot
View dateformat.html
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<div id="date"></div>
</body>
@benhodgson87
benhodgson87 / rgba-fallback.scss
Last active Dec 29, 2015
Sass RGBA Fallback Mixin
View rgba-fallback.scss
/**
* RGBA & Hex Fallback
*
* Takes a hex code with comma separated alpha value.
* Falls back to just the hex if no alpha is provided.
*
* Params:
* $prop: The CSS property to apply the color value to
* $color: A hex code, or bracketed Hex + Opacity figure. eg: (#fff, 0.5)
*
You can’t perform that action at this time.