Skip to content

Instantly share code, notes, and snippets.

@fnky
Created March 14, 2015 15:55
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 fnky/1fef34a10a22cea17a8f to your computer and use it in GitHub Desktop.
Save fnky/1fef34a10a22cea17a8f to your computer and use it in GitHub Desktop.
Simple container max-width
<div class="container"></div>
body {
margin: 0;
background-color: gray;
}
.container {
max-width: 1100px;
height: 800px;
margin: 0 auto;
background-color: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment