Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
React App : background with bubble animate from bottom to top

I try to display over my background "bubbles" images of bubbles, which appear randomly at the bottom of my web page and go up to the top before destroying themselves.

i have a ts file with css code :

export const Bubble2 = styled("section")`
position: absolute;
width: 100px;
height: 100px;
left: 30%;
bottom: 0;
background: #fff;
border-radius: 50%;
opacity: 0.5;
animation: flying 10s infinite ease-in;

@keyframes flying {
    0% {

        transform: translateX(0);
    }
    25% {
        transform: translateX(10%);
    }
    50% {
        transform: translateX(-20%);
    }
    100% {
        bottom: 99%;
        transform: translateX(5%);
    }
}
`;

But I can't use nth-child in this, or nothing happened when I call that...

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!