@import 'tao/ui/globals'; @keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } } .icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; fill: inherit; &.spin { animation: spin 1s infinite linear; } }