.fly { width: _get-rem(250px, 14px); @include transform(translateX(1984px)); @include font-size(12px, 14px); } @include keyframes(fly) { from { top: 0; } to { top: -10px; } }
.fly { width: 17.85714rem; -webkit-transform: translateX(1984px); -ms-transform: translateX(1984px); transform: translateX(1984px); font-size: 12px; font-size: 0.85714rem; } @-webkit-keyframes fly { from { top: 0; } to { top: -10px; } } @keyframes fly { from { top: 0; } to { top: -10px; } }
Github: github.com/lightingbeetle/lightingfly