首页/styles.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第45行: | 第45行: | ||
} | } | ||
.neuro-button:hover { | .neuro-button:hover { | ||
animation: | animation: float_2 4s infinite ease-in-out; | ||
} | } | ||
/* 手动为每个子元素设置 transform 属性 */ | /* 手动为每个子元素设置 transform 属性 */ | ||
第85行: | 第85行: | ||
50% { | 50% { | ||
transform: translateY(-10px); | transform: translateY(-10px); | ||
} | |||
} | |||
@keyframes float_2 { | |||
0%, 100% { | |||
transform: scale(1.0); | |||
} | |||
50% { | |||
transform: scale(1.2); | |||
} | } | ||
} | } |