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

386
Visualizações
How exactly do we add a animated border of a div inside the div itself?

I am looking to display an image inside a div and when mouse hover over it the border should appear inside the div in some sort of animated manner. I have done it using animated svg and it works for large screen but have no idea of doing it for smaller screens. there must be a proper alternative to it!!

I have attempted to do it using svg lines.. for which i used four such lines and added animation on each line and triggered it while hover. What is the proper way please. Codesandbox link link of what i have done till now. I want similar effect for variable image/div sizes.

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