12变大
作者:互联网
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>变大</title> </head> <style> .box{ width: 200px; height: 200px; margin: 200px auto; background: royalblue; animation: fangkuai 4s alternate infinite; } @keyframes fangkuai{ from{transform: scale(0);} to{transform: scale(1);} } </style> <body> <div class="box"></div> </body> </html>
标签:box,scale,fangkuai,alternate,变大,transform,12,200px 来源: https://www.cnblogs.com/21doctor-sun/p/14046101.html