Skip to content

Instantly share code, notes, and snippets.

@LeMasters
Created November 7, 2019 14:38
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 LeMasters/8be9a143a7256c6eb1e2fde688b3d9e7 to your computer and use it in GitHub Desktop.
Save LeMasters/8be9a143a7256c6eb1e2fde688b3d9e7 to your computer and use it in GitHub Desktop.
starter CSS / positioning
* {
margin: 0;
padding: 0;
/* box-sizing: border-box;*/
/* again: this is frequently used,
but I think it is best saved for
later, when you're more confident about
why you'd want to change the box-sizing
model in the first place...*/
}
/* technically, empty selectors are frowned upon.*/
.page {
}
/*
margin:0 auto;
width:200px;
}*/
.menu {
height: 50px;
background-color: #B2D6FF; /* Medium blue */
}
.sidebar {
height: 120px;
background-color: #F09A9D; /* Red */
}
.content {
height: 250px;
background-color: #F5CF8E; /* Yellow */
}
.footer {
height: 150px;
background-color: #D6E9FE; /* Light blue */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment