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

104
Views
¿Hay alguna posibilidad de cambiar el borde de la imagen automáticamente según la forma de la imagen?

Cuando el usuario cambia la imagen cuadrada a una imagen circular, el borde permanece cuadrado. ¿Hay alguna forma de cambiar el borde a un círculo automáticamente?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si te entiendo correctamente, prueba este enfoque:

HTML:

 <div class="image-cropper"> <img src="your-image" alt="avatar" class="profile-pic"> </div>

CSS:

 .image-cropper { width: 100px; height: 100px; position: relative; overflow: hidden; border-radius: 50%; } .profile-pic { display: inline; margin: 0 auto; margin-left: -25%; //centers the image height: 100%; width: auto; }

Enmarcará tu imagen perfectamente ya que tenemos una foto de perfil en las redes sociales.

about 4 years ago · Juan Pablo Isaza Report
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!