Skip to content
Snippets Groups Projects
Commit 00a967c2 authored by Clement Franckelemon's avatar Clement Franckelemon
Browse files

:lipstick: add text effect on 404 error

parent 8b915147
No related branches found
No related tags found
No related merge requests found
Pipeline #59444 passed
<template> <template>
<div class="fullscreen bg-secondary text-white text-center q-pa-md flex flex-center"> <div class="fullscreen bg-secondary text-white text-center q-pa-md flex flex-center">
<div> <div>
<div :style="$q.screen.lt.sm ? 'font-size: 30vh' : 'font-size: 40vh'" class="text-accent"> <div :style="$q.screen.lt.sm ? 'font-size: 30vh' : 'font-size: 40vh'" class="text-accent text-effect">
404 404
</div> </div>
...@@ -30,3 +30,25 @@ ...@@ -30,3 +30,25 @@
<script setup lang="ts"> <script setup lang="ts">
// //
</script> </script>
<style scoped>
@supports (-webkit-background-clip: text) {
.text-effect {
background-image: linear-gradient(45deg, #eeea14, #ffffff, #eeea14);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
background-clip: text;
background-size: 300% auto;
animation: textgradient 20s linear infinite;
}
@keyframes textgradient {
from {
background-position: 0 center;
}
to {
background-position: 300% center;
}
}
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment