Skip to content

Instantly share code, notes, and snippets.

View designhash's full-sized avatar
🏠
Working from home

Falconerie Badayos II designhash

🏠
Working from home
View GitHub Profile
// Dirty overload the native function
var parseInt = function(arg1) {
if (arg1 === "Infinity") {
return NaN;
}
if (arg1 === "Infinity+1") {
return "Infinity1";
}
if (arg1 === "1+1+1") {
return "3?";

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);