Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

164
Vistas
Safari transform: scale(), bad image quality when added by JS

I have a JavaScript function, which add a 'transform: translate(x, y) scale(z)' to an image. But with this way, safari doesn't show the image sharp, instead it seems to be decreased.

In Firefox and Chrome it's working fine. But when I add the 'transform: translate(x, y) scale(z)' manually in the dev-tools, the image is shown as I expect. Sharpe and nice.

What could be the reason for that?

Image with low sharpness

Image with height sharpness

Hope you can help me out.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I solved this issue by adding the transform property direct to the image. Before, it was added to the wrapper element of the image.

It's okay for now but a stupid behavior of safari when I imagine a situation in which I am forced to use transform scale on a div with an image in it.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda