Skip to content

Commit

Permalink
Merge pull request #29 from IntelliTect-Samples/APK/animated-background
Browse files Browse the repository at this point in the history
Add animated background #21
  • Loading branch information
AndrewKorchemniy committed Nov 29, 2023
2 parents b7502f0 + 0a7d59d commit f100449
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,24 @@
</template>

<script setup lang="ts"></script>

<style lang="css">
body {
background-image: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 600% !important;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
</style>

0 comments on commit f100449

Please sign in to comment.