Last active
September 30, 2018 07:23
-
-
Save SilencerWeb/6c7054841fe6bc11c9dde678bbf50c0e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.header { | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
z-index: 99; | |
&_hidden { | |
transform: translateY(-100%); | |
} | |
&_sticky { | |
position: fixed; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment