script and css to change nav background
This commit is contained in:
@ -4,8 +4,16 @@
|
||||
#nav {
|
||||
@include vendor('transition', (
|
||||
'height #{_duration(transition)} ease',
|
||||
'background #{_duration(transition)} ease',
|
||||
));
|
||||
height: 80px;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
background: #f2f2f2;
|
||||
|
||||
&.scrolled {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
> #wrapper {
|
||||
margin: auto;
|
||||
|
Reference in New Issue
Block a user