Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了显示转换,我使用了 jsfiddle,如何在转换时将粘性文本保留在图像上,现在文本是不变的,如何将文本也与图像一起转换
http://jsfiddle.net/U9g3c/2/
看到这个小提琴,在这里我插入了旋转和位置变化(带有div.namehover.
div.namehover
http://jsfiddle.net/5r6mx/
如果您将图像及其标题放在 a 中<div>并在此上执行所有旋转和重新定位的东西会更优雅<div>。
<div>
您只是在旋转图像。您还必须为rotate文本包装器设置一个 -class。
rotate
将您的文本和图像放在一个共享的 div 容器中并旋转它。