Skip to content

Instantly share code, notes, and snippets.

@mosquito
Created July 19, 2014 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mosquito/1daf0d256525c4c64e5e to your computer and use it in GitHub Desktop.
Save mosquito/1daf0d256525c4c64e5e to your computer and use it in GitHub Desktop.
.grid *{text-decoration:none;cursor:default;margin:0;padding:0}.grid a{cursor:pointer}.grid .row{width:100%;display:block;margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid .row .col1{width:8.33333333%;max-width:8.33333333%}.grid .row .pre1{margin-left:8.33333333%}.grid .row .post1{margin-right:8.33333333%}.grid .row .col2{width:16.66666667%;max-width:16.66666667%}.grid .row .pre2{margin-left:16.66666667%}.grid .row .post2{margin-right:16.66666667%}.grid .row .col3{width:25%;max-width:25%}.grid .row .pre3{margin-left:25%}.grid .row .post3{margin-right:25%}.grid .row .col4{width:33.33333333%;max-width:33.33333333%}.grid .row .pre4{margin-left:33.33333333%}.grid .row .post4{margin-right:33.33333333%}.grid .row .col5{width:41.66666667%;max-width:41.66666667%}.grid .row .pre5{margin-left:41.66666667%}.grid .row .post5{margin-right:41.66666667%}.grid .row .col6{width:50%;max-width:50%}.grid .row .pre6{margin-left:50%}.grid .row .post6{margin-right:50%}.grid .row .col7{width:58.33333333%;max-width:58.33333333%}.grid .row .pre7{margin-left:58.33333333%}.grid .row .post7{margin-right:58.33333333%}.grid .row .col8{width:66.66666667%;max-width:66.66666667%}.grid .row .pre8{margin-left:66.66666667%}.grid .row .post8{margin-right:66.66666667%}.grid .row .col9{width:75%;max-width:75%}.grid .row .pre9{margin-left:75%}.grid .row .post9{margin-right:75%}.grid .row .col10{width:83.33333333%;max-width:83.33333333%}.grid .row .pre10{margin-left:83.33333333%}.grid .row .post10{margin-right:83.33333333%}.grid .row .col11{width:91.66666667%;max-width:91.66666667%}.grid .row .pre11{margin-left:91.66666667%}.grid .row .post11{margin-right:91.66666667%}.grid .row .col12{width:100%;max-width:100%}.grid .row .pre12{margin-left:100%}.grid .row .post12{margin-right:100%}@media only screen and (max-width: 320px),only screen and (min-width: 321px) and (max-width: 489px){.grid .row .pre1,.grid .row .pre2,.grid .row .pre3,.grid .row .pre4,.grid .row .pre5,.grid .row .pre6,.grid .row .pre7,.grid .row .pre8,.grid .row .pre9,.grid .row .pre10,.grid .row .pre11,.grid .row .pre12{margin-left:0 !important}.grid .row .post1,.grid .row .post2,.grid .row .post3,.grid .row .post4,.grid .row .post5,.grid .row .post6,.grid .row .post7,.grid .row .post8,.grid .row .post9,.grid .row .post10,.grid .row .post11,.grid .row .post12{margin-right:0 !important}}@media only screen and (max-width: 320px),only screen and (min-width: 321px) and (max-width: 489px){.grid .row .col1,.grid .row .col2,.grid .row .col3,.grid .row .col4,.grid .row .col5,.grid .row .col6,.grid .row .col7,.grid .row .col8,.grid .row .col9,.grid .row .col10,.grid .row .col11,.grid .row .col12{width:100% !important;max-width:100% !important}}.grid .row>*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;*display:inline;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;float:left}.grid .row>*:last-child{float:normal}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment