Skip to content

Instantly share code, notes, and snippets.

View shalinguyen's full-sized avatar

Shali Nguyen shalinguyen

View GitHub Profile
@shalinguyen
shalinguyen / csscheats.md
Last active December 10, 2015 09:38
CSS Browser Cheats

Shali's CSS Browser Cheats

Targetting iPhone, Android, iPad and tablets with media queries

/* iPhone 5 and newer (landscape) + Androids */
@media all and (max-width: 568px), only screen and (min-device-width: 640px) and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) {
  .mobile-only {
    display:block;
@shalinguyen
shalinguyen / oven-inbound.js
Created September 20, 2012 00:47
Bread Oven - Inbound
<script src="http://www.oursite.com/js/cooljs.js"></script>
<script>
breadOven({
publisherId: "123456789",
excludeOwnDomain: true,
vanityDomain: "http://somewebsite.com",
});
</script>