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

167
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
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