Skip to content

Instantly share code, notes, and snippets.


Francesco Improta zetareticoli

View GitHub Profile
jacurtis / _spacing-helpers.scss
Last active Jul 20, 2020
SASS Margin and Padding Helpers Loop. Generates .m-t-10 type helper classes.
View _spacing-helpers.scss
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
It will generate several classes such as:
.m-r-10 which gives margin-right 10 pixels.
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
.p-l-40 gives PADDING to the LEFT of 40 pixels
sehrgut / LetterpressSizes.json
Last active Apr 19, 2018
Traditional letterpress point size names, in JSON
View LetterpressSizes.json
* Transcribed to JSON from
* This document is free and open-source software licensed simultaneously under the MIT License, the GPL v2,
* and the two-clause BSD License.
* nb. Where conflicts in naming existed (Double Small Pica and Double Pica), the British unit took
* precedence. In all other cases, both US and British units are described.
"LetterpressSizes": {
aaronmccall / placeholder.js
Created Jan 4, 2011
shim for browsers that don't support the html5 placeholder attribute
View placeholder.js
setup_placeholders = (function() {
$.support.placeholder = false;
test = document.createElement('input');
if('placeholder' in test) {
$.support.placeholder = true;
return function() {}
} else {
return function(){
You can’t perform that action at this time.