css3放大旋转
<!doctype html> <html > <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>css3放大旋转</title> <style> .a{ transition:all 0.4s ease-in-out; -webkit-transition:all 0.4s ease-in-out; -moz-transition:all 0.4s ease-in-out; -o-transition:all 0.4s ease-in-out; width:200px; height:200px; background-color:#008000; display:block; margin:100px auto; color:#fff; text-align:center; line-height:200px; font-size:20px; font-weight:bold; } .a:hover { transform:rotate(360deg) scale(1.2); -webkit-transform:rotate(360deg) scale(1.2); -moz-transform:rotate(360deg) scale(1.2); -o-transform:rotate(360deg) scale(1.2); -ms-transform:rotate(360deg) scale(1.2); } </style> </head> <body> <a class="a">放大旋转</a> </body> </html>
以上就是css3放大旋转的实例代码的详细内容。