Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

157
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda