修改一下样式
parent
f292f7e0cf
commit
04467d8b1e
@ -0,0 +1,10 @@
|
|||||||
|
module.exports = {
|
||||||
|
style: {
|
||||||
|
postcss: {
|
||||||
|
plugins: [
|
||||||
|
require('tailwindcss'),
|
||||||
|
require('autoprefixer'),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
.arrow {
|
||||||
|
position: relative; /* 确保箭头相对于其父元素进行定位 */
|
||||||
|
animation-name: down-fade; /* 指定动画名称 */
|
||||||
|
animation-duration: 3s; /* 动画持续时间(秒)*/
|
||||||
|
animation-timing-function: ease-in-out; /* 指定动画变化速度 */
|
||||||
|
animation-iteration-count: infinite; /* 让动画无限循环 */
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes down-fade {
|
||||||
|
0% {
|
||||||
|
opacity: 1; /* 开始时完全不透明 */
|
||||||
|
transform: translateY(0); /* 初始位置 */
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0.8; /* 最后完全消失 */
|
||||||
|
transform: translateY(30px);/* 继续向下移动一段距离 */
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
purge: [],
|
||||||
|
darkMode: false, // or 'media' or 'class'
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
|
||||||
|
variants: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue