【发布时间】:2012-06-20 00:43:33
【问题描述】:
当我将鼠标悬停在链接上时,我希望转换为 text-transform:uppercase。我试过了:
a{
font-size:20px;
animation-duration: 0.4s;
transition: all 0.4s ease-in-out;
}
a:hover{
text-transform:uppercase;
}
但这没有任何效果,它只是弹出大写。有什么想法吗?
【问题讨论】:
-
动画会是什么样子?您将需要一些 SVG 库或类似的东西来执行此操作:raphaeljs.com/helvetica.html
-
如果@Blender 的链接是您所期望的那种动画,那么 CSS 就无法做到这一点。