+
@@ -27,6 +27,10 @@
animation: spain 4s linear infinite;
}
+ .paused {
+ animation-play-state: paused;
+ }
+
@keyframes spain {
from {
transform: rotate(0deg);
diff --git a/src/main.js b/src/main.js
index 90e6400b4d8ad8aba0c1caa53874eb4b81380648..6f02a6192a89f72e36cc6057fc0098cd03c2b923 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,5 +1,6 @@
import { createApp } from 'vue'
import App from './App.vue'
+import 'unocss'
import './assets/main.css'
diff --git a/uno.config.js b/uno.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..3c2430c50527d75236aed0af064690d217439422
--- /dev/null
+++ b/uno.config.js
@@ -0,0 +1,8 @@
+import { defineConfig } from 'unocss'
+import PresetRemToPx from '@unocss/preset-rem-to-px'
+
+export default defineConfig({
+ presets: [
+ PresetRemToPx(),
+ ],
+})
\ No newline at end of file
diff --git a/vite.config.js b/vite.config.js
index 4ad898dec614e030adad5e4f80523145bce56245..fbe7f15d4c04da5cce64b955afab7bfb2b595f54 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,10 +1,11 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
+import UnoCSS from 'unocss/vite'
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: true
},
- plugins: [vue()]
+ plugins: [vue(), UnoCSS()]
})