.div{ margin: 10px auto; animation: bounce-down 3.5s linear infinite;}
@-webkit-keyframes bounce-down { 25% { -webkit-transform: translateY(-10px); } 50%, 100% { -webkit-transform: translateY(0); } 75% { -webkit-transform: translateY(10px); }}
Original: https://www.cnblogs.com/h-w-b/p/16174420.html
Author: 一群bug
Title: css上下浮动效果
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/609239/
转载文章受原作者版权保护。转载请注明原作者出处!