Sha256: 64bff7823c1f67a0f231763a852603efc71a61d85556ffe3dcb789c6ff7700d6
Contents?: true
Size: 883 Bytes
Versions: 2
Compression:
Stored size: 883 Bytes
Contents
@if index($hamburger-types, 3dx-r) { /* * 3DX Reverse */ .hamburger--3dx-r { .hamburger-box { perspective: $hamburger-layer-width * 2; } .hamburger-inner { transition: transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); &::before, &::after { transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); } } &.is-active { .hamburger-inner { background-color: transparent; transform: rotateY(-180deg); &::before { transform: translate3d(0, $hamburger-layer-height + $hamburger-layer-spacing, 0) rotate(45deg); } &::after { transform: translate3d(0, ($hamburger-layer-height + $hamburger-layer-spacing) * -1, 0) rotate(-45deg); } } } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hamburgers-0.7.0 | _sass/hamburgers/types/_3dx-r.scss |
hamburgers-0.6.0 | _sass/hamburgers/types/_3dx-r.scss |