Skip to content

Instantly share code, notes, and snippets.

@shazdeh
Created March 7, 2014 20:33
Show Gist options
  • Save shazdeh/9419457 to your computer and use it in GitHub Desktop.
Save shazdeh/9419457 to your computer and use it in GitHub Desktop.
Parallax: have the logo be displayed in the fixed header
#header hgroup {
-webkit-transform: inherit !important;
-moz-transform: inherit !important;
position: relative;
z-index: 99999;
}
.fixed-header-on #site-logo {
position: fixed;
top: 0;
left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment