Sha256: d61bfb9fc2094dcc6810876b8249852d1610df4f90ce71620f7da94b518719ee
Contents?: true
Size: 871 Bytes
Versions: 2
Compression:
Stored size: 871 Bytes
Contents
@if index($hamburger-types, 3dy) { /* * 3DY */ .hamburger--3dy { .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: rotateX(-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/_3dy.scss |
hamburgers-0.6.0 | _sass/hamburgers/types/_3dy.scss |