Skip to content
New issue

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

add background animations #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avijitsamantaray
Copy link

@avijitsamantaray avijitsamantaray commented Oct 13, 2021

the added code is

`

<style> .box-area li { position: absolute; display: block; list-style: none; width: 25px; height: 25px; background: rgba(255, 255, 255, 0.2); animation: animate 20s linear infinite; bottom: -150px; } .box-area li:nth-child(1) { left: 86%; width: 80px; height: 80px; animation-delay: 0s; } .box-area li:nth-child(2) { left: 12%; width: 30px; height: 30px; animation-delay: 1.5s; animation-duration: 10s; } .box-area li:nth-child(3) { left: 70%; width: 100px; height: 100px; animation-delay: 3.5s; } .box-area li:nth-child(4) { left: 42%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 15s; } .box-area li:nth-child(5) { left: 65%; width: 40px; height: 40px; animation-delay: 0s; } .box-area li:nth-child(6) { left: 15%; width: 110px; height: 110px; animation-delay: 2.5s; } .box-area li:nth-child(7) { left: 42%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 15s; } .box-area li:nth-child(8) { left: 42%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 15s; } @Keyframes animate { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(-800px) rotate(360deg); opacity: 0; } } </style>
  • </ul>
    

`

i add animations to home page if it is good i will add to all pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant