Skip to content

Instantly share code, notes, and snippets.

@devilshaircut
Last active December 28, 2015 07:08
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 devilshaircut/7461763 to your computer and use it in GitHub Desktop.
Save devilshaircut/7461763 to your computer and use it in GitHub Desktop.
#page-content {
display: block;
width: 100%;
min-height: 100%;
padding: 70px 100px 40px 100px;
background: #ffffff;
position: relative;
z-index: 5;
@include box-sizing(border-box);
@include box-shadow(0 0 7px #000000);
@include transition-property(left);
@include transition-duration(0.25s);
@include transition-timing-function(ease-in);
@include transition-delay(0);
@media (max-width: 767px) {
padding: 70px 20px 40px 20px;
}
}
@devilshaircut
Copy link
Author

Updated the "height" rule to "min-height". This fixes the case where the content overflows the height.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment