Skip to content

Instantly share code, notes, and snippets.

@frederickpweiss
Created March 22, 2014 18:40
Show Gist options
  • Save frederickpweiss/9712121 to your computer and use it in GitHub Desktop.
Save frederickpweiss/9712121 to your computer and use it in GitHub Desktop.
Selector {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
<meta name="viewport" content="width=780" />
var counter = 1;
$('#zone-preface .area_passion-item').wrap(function() {
var wrapper = '<div id="area_passion-item-' + counter + '"></div>';
counter++;
return wrapper;
});
$_SERVER[ 'HTTP_USER_AGENT' ];
/*
DOCUMENT_ROOT
*/
include($_SERVER['DOCUMENT_ROOT'].'/file.php');
elseif($_SERVER['REQUEST_URI'] == '/david-leadbetter-golf-academy/'){
include("./_assets/dynamic/templates/includes/sports/tennis-flash.php");
}
-webkit-background-size:100px 100px;
#myID {-webkit-background-size:91px 31px;background:url(image.jpg) 0px 0px no-repeat;}
@DateTime.UtcNow.Year
@font-face {
font-family:'HP-Simplified-Regular';
src: url('/profiles/bmg_skeleton/themes/bmg_2013/hp-simplified-webfonts/HPSimplifiedW15-Regular.eot');
src: url('/profiles/bmg_skeleton/themes/bmg_2013/hp-simplified-webfonts/HPSimplifiedW15-Regular.eot?#iefix') format('embedded-opentype'),
url('/profiles/bmg_skeleton/themes/bmg_2013/hp-simplified-webfonts/HPSimplifiedW15-Regular.woff') format('woff'),
url('/profiles/bmg_skeleton/themes/bmg_2013/hp-simplified-webfonts/HPSimplifiedW15-Regular.ttf') format('truetype'),
url('/profiles/bmg_skeleton/themes/bmg_2013/hp-simplified-webfonts/HPSimplifiedW15-Regular.svg#HP-Simplified-Regular') format('svg');
font-weight:normal;
font-style:normal;
}
.webfont-Bold {font-family:'HP-Simplified-Bold', Arial, Helvetica, Verdana, sans-serif;}
.webfont-Normal {font-family:'HP-Simplified-Regular', Arial, Helvetica, Verdana, sans-serif;}
$('#DOM_ID').click(function() {
_gaq.push(['_trackEvent', 'Camps CTA', 'Register Today']);
});
// Track Events =========================================================================================================
$('.homecta.home-discover .cta_button a').click(function() {
_gaq.push(['_trackEvent', 'Home CTAs', 'click', 'Discover']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment