Skip to content

Instantly share code, notes, and snippets.

Levin Mejia levinmejia

View GitHub Profile
View sanfrancisco-font.css
/** WARNING - USE AT OWN RISK */
/** IT IS AGAINST APPLE'S POLICY TO USE SF PRO FOR ANYTHING OTHER THAN iOS/tvOS/macOS/watchOS DESIGN & DEVELOPMENT */
/** https://sf.abarba.me/font.css */
/** https://sf.abarba.me/LICENSE.pdf */
/** 1. Copy/import this file into your main css/scss file */
/** 2. Change css font-family: to "SF Text", "SF Display" or "SF Mono" */
/** 3. Apply font-weight or italic to html elements */
/** THANK YOU */
View jQuery TouchClick
/*** ANDREW BARBA ***/
/**** April 2013 ****/
/********************/
// A replacement for jQuery's .click() event that
// automatically supports taps on mobile devices
// and clicks on desktops
jQuery.fn.touchClick = function(fnc)
{
You can’t perform that action at this time.