Files
interview-demo-code/frontend/spa/src/components/Loader.vue
Nikita Kiselev 01458e3b4c
Some checks failed
Telegram Mini App Shop Builder / Compute version metadata (push) Has been cancelled
Telegram Mini App Shop Builder / Run Frontend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run Backend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run PHP_CodeSniffer (push) Has been cancelled
Telegram Mini App Shop Builder / Build module. (push) Has been cancelled
Telegram Mini App Shop Builder / release (push) Has been cancelled
Squashed commit message
2026-03-11 22:33:34 +03:00

18 lines
478 B
Vue

<template>
<div class="loader"></div>
</template>
<style scoped>
.loader {
width: 40px;
aspect-ratio: 1;
border-radius: 50%;
background: #f03355;
clip-path: polygon(0 0,100% 0,100% 100%,0 100%);
animation: l1 2s infinite cubic-bezier(0.3,1,0,1);
}
@keyframes l1 {
33% {border-radius: 0;background: #514b82 ;clip-path: polygon(0 0,100% 0,100% 100%,0 100%)}
66% {border-radius: 0;background: #ffa516 ;clip-path: polygon(50% 0,50% 0,100% 100%,0 100%)}
}
</style>