SHARE
TWEET

Untitled

a guest Dec 11th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top