We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2019-10-27 22:08:23
资料
<div class="circle"></div> <div class="line"></div>
body { -webkit-box-reflect: below 0px -webkit-linear-gradient(transparent,transparent 50%, rgba(255,255,255,.6)); } .circle { width: 100px; height: 100px; /* background: red; */ background: radial-gradient(circle at 40% 0, red 60%, #104b63); border-radius: 50%; margin-top: 300px; margin-left: 300px; transform: translate(0, -200px); animation: circle 1.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) infinite; } @keyframes circle { 0% { transform: translate(0, -200px); } 10% { transform: translate(0, -160px); } 20% { transform: translate(0, -120px); } 30% { transform: translate(0, -80px); } 40% { transform: translate(0, -40px); } 50% { transform: translate(0, 0); } 60% { transform: translate(0, -40px) scale(1.13, 0.87); } 70% { transform: translate(0, -80px) scale(0.87, 1.13); } 80% { transform: translate(0, -120px) scale(1.05, 0.95); } 90% { transform: translate(0, -160px) scale(0.98, 1.02); } 100% { transform: translate(0, -200px); } } .line { height: 1px; width: 100%; background-color: #000; }
See the Pen 弹跳小球 by xiaotiandada (@xiaotiandada) on CodePen.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
2019-10-27 22:08:23
资料
See the Pen 弹跳小球 by xiaotiandada (@xiaotiandada) on CodePen.
<script async src="https://static.codepen.io/assets/embed/ei.js"></script>The text was updated successfully, but these errors were encountered: