Skip to content

Instantly share code, notes, and snippets.

View hellapixels's full-sized avatar

Arthur de la Rocha hellapixels

  • Earth
View GitHub Profile
@hellapixels
hellapixels / case-flite.css
Created June 11, 2012 20:13
Flite Code Example
/* Retina media query.
Overrides styles for devices with a
device-pixel-ratio of 2+, such as iPhone 4/iPad 3.
----------------------------------------------- */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
#topnav {
<meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' />
@media only screen and (max-device-width: 480px) {
img[class="image-class"] { width: 100% !important; }
p[class="p-class"] { font-size: 14px !important; }
}
@hellapixels
hellapixels / gist:4061650
Created November 12, 2012 20:23
Mobile Media Query
@media only screen and (max-width: 767px) {
*enter code here*
}
@hellapixels
hellapixels / gist:5111450
Created March 7, 2013 20:18
Foundation Case Study - Flite
/* Retina media query.
Overrides styles for devices with a
device-pixel-ratio of 2+, such as iPhone 4/iPad 3.
----------------------------------------------- */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
#topnav {
### Keybase proof
I hereby claim:
* I am hellapixels on github.
* I am hellapixels (https://keybase.io/hellapixels) on keybase.
* I have a public key whose fingerprint is 807E 2611 879D 6D6B 73BC 1A6F BB23 3A3B 558F A482
To claim this, I am signing this object: