“测试:gotop-jxbknet”的版本间的差异
来自中文百科,文化平台
第1行: | 第1行: | ||
− | < | + | <p class="animated-text">Hello, World!</p> |
+ | <style> | ||
+ | @keyframes text-animation { | ||
+ | 0% { transform: scale(1); } | ||
+ | 50% { transform: scale(1.2); } | ||
+ | 100% { transform: scale(1); } | ||
+ | } | ||
+ | .animated-text { | ||
+ | animation: text-animation 2s infinite; | ||
+ | } | ||
+ | </style> |
2024年4月26日 (五) 13:41的版本
Hello, World!
<style> @keyframes text-animation {
0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); }
} .animated-text {
animation: text-animation 2s infinite;
} </style>