Skip to content

Instantly share code, notes, and snippets.

@tcnksm
Created November 2, 2013 11:50
Show Gist options
  • Save tcnksm/7278094 to your computer and use it in GitHub Desktop.
Save tcnksm/7278094 to your computer and use it in GitHub Desktop.
Responsive centered single column page by scss
body {
font-size: 18px;
margin 0 auto;
@media screen and (max-width: 1040px){
font-size: 16px;
width: 60%;
}
@media screen and (max-width: 600px){
font-size: 14px;
width: 80%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment