/
githubmirror
/
element
Обзор
Документация
Войти
/
githubmirror
/
element
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/theme-chalk/src/spinner.scss
44 строки
682 B
杨奕
scaffolding chalk (#6643)
23 авг 2017, 13:07
23 авг 2017, 13:07
7901603
Код
Авторство
О чём код?
@import "mixins/mixins"; @include b(time-spinner) { width: 100%; white-space: nowrap; } @include b(spinner) { display: inline-block; vertical-align: middle; } @include b(spinner-inner) { animation: rotate 2s linear infinite; width: 50px; height: 50px; & .path { stroke: #ececec; stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; } } @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes dash { 0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; } 50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; } 100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; } }