Skip to content

Instantly share code, notes, and snippets.

View marcusasplund's full-sized avatar

Marcus Asplund marcusasplund

View GitHub Profile
@mixin for-size($size) {
@if $size == phone-only {
@media (max-width: 599px) { @content; }
} @else if $size == tablet-portrait-up {
@media (min-width: 600px) { @content; }
} @else if $size == tablet-portait-only {
@media (min-width: 600px) and (max-width: 899px) { @content; }
} @else if $size == tablet-landscape-up {
@media (min-width: 900px) { @content; }
} @else if $size == tablet-landscape-only {
@marcusasplund
marcusasplund / Quick Fusion Tables pseudo-mouseover Map
Created December 2, 2011 22:00 — forked from chrislkeller/README.md
Quick map creating a mouseover-like event on a google map using a Fusion Tables layer...
<style>
#map_canvas { width: 600px; height: 600px; }
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<!-- INCLUDE THIS SCRIPT REFERENCE FOR MOUSEOVER -->
<script type="text/javascript" src="http://gmaps-utility-gis.googlecode.com/svn/trunk/fusiontips/src/fusiontips_compiled.js"></script>