Created
November 7, 2019 14:38
-
-
Save LeMasters/8be9a143a7256c6eb1e2fde688b3d9e7 to your computer and use it in GitHub Desktop.
starter CSS / positioning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
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