transform mixin cross-browser compat.
This commit is contained in:
parent
a9b95644eb
commit
eb43f4ec8b
|
@ -1,6 +1,6 @@
|
|||
.headroom
|
||||
will-change: transform
|
||||
transition: transform 200ms linear
|
||||
@include transition (transform, 0.2s, linear)
|
||||
|
||||
&-pinned
|
||||
transform: translateY(0%)
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
$grey: #333
|
||||
|
||||
@mixin transition($what: all, $time: 0.2s, $how: ease-in-out)
|
||||
-webkit-transition: $what $time $how
|
||||
-moz-transition: $what $time $how
|
||||
-ms-transition: $what $time $how
|
||||
-o-transition: $what $time $how
|
||||
transition: $what $time $how
|
||||
|
||||
|
||||
@import 'fonts'
|
||||
@import 'bootstrap-minimal'
|
||||
@import 'bootstrap-nav'
|
||||
|
|
Loading…
Reference in New Issue