Skip to content

Instantly share code, notes, and snippets.

View samcus's full-sized avatar

Samuel Custer samcus

View GitHub Profile
@samcus
samcus / jquery-bookmarklet
Created September 20, 2016 20:08
Bookmarklet Code for Quickly Including JQuery on a Site
javascript:var jq = document.createElement('script'); jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); // ... give time for script to load, then type. jQuery.noConflict();
// Define Breakpoints
$mobile: 480px;
$tablet: 960px;
$desktop: 1280px;
@mixin respond-to($media) {
@if $media == small-mobile {
@media (max-width: $mobile) { @content; }
}
@else if $media == mobile {