Skip to content

Instantly share code, notes, and snippets.

@CGastrell
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save CGastrell/a17db79e36688410cad6 to your computer and use it in GitHub Desktop.

Select an option

Save CGastrell/a17db79e36688410cad6 to your computer and use it in GitHub Desktop.

Revisions

  1. CGastrell revised this gist Feb 24, 2015. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions sample2.css
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,9 @@ body {
    font-size: 14px;
    }

    @media screen and (max-device-width: 360px, max-device-height: 480px) {
    /* targeting iPhones 1 through 5 and any other device which height is less than 480px */
    @media screen and (max-device-width: 320px, max-device-height: 480px) {
    body: {
    font-size: 12px;
    font-size: 16px;
    }
    }
  2. CGastrell created this gist Feb 16, 2015.
    9 changes: 9 additions & 0 deletions sample2.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    body {
    font-size: 14px;
    }

    @media screen and (max-device-width: 360px, max-device-height: 480px) {
    body: {
    font-size: 12px;
    }
    }