找回密码
 立即注册
搜索
查看: 1|回复: 0

暗香浮动月黄昏 文字动画代码 转自马黑教程专版

[复制链接]

1661

主题

3464

回帖

1万

积分

管理员

积分
14068
发表于 2 小时前 | 显示全部楼层 |阅读模式
<style> .pa { margin: 20px auto; width: 1024px; height: 640px; font-size: 16px; display: grid; place-items: center; perspective: 600px; position: relative; } .txt3d { color: beige; font: bold 5em sans-serif; text-shadow: 2px 2px 4px gray, 3px 3px 8px orange, 4px 4px 16px black; animation: rot ease-in-out 3s infinite alternate; transform-style: preserve-3d; } @keyframes rot { 0% { transform: rotate3d(0, 0.75, 0, 0deg); } 50% { transform: rotate3d(0.5, 0.35, 0, 300deg); } 100% { transform: rotate3d(1, 0, 0, 60deg); } } </style> <div class="pa"> <p class="txt3d">暗香浮动月黄昏</p> </div>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

协同嘉业科技有限公司 ( 京ICP备2024053108号-1 )

GMT+8, 2026-11-7 23:55 , Processed in 0.081745 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表