headroom.css 275 B

1234567891011121314151617
  1. .headroom {
  2. z-index: 10000;
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. will-change: transform;
  8. transition: transform 200ms linear;
  9. }
  10. .headroom--pinned {
  11. transform: translateY(0%);
  12. }
  13. .headroom--unpinned {
  14. transform: translateY(-100%);
  15. }