Guest User

Untitled

a guest
Dec 11th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. body {
  2. /* This is the footer's background color */
  3. background-color: #888;
  4.  
  5. /* Normally, your normalization stylesheet should take care of the below part but it's added here for extra clarity. */
  6. margin: 0;
  7. padding: 0;
  8. }
  9.  
  10. .mainContent {
  11. background-color: #fff;
  12.  
  13. /* overflow:hidden will not hide anything, as .mainContent doesn't specify any dimensions. It's just a trick to ensure that the contained children's margins doesn't push outside the .mainContent element. */
  14. overflow: hidden;
  15. }
Add Comment
Please, Sign In to add comment