D
D
Denis Bukreev2017-02-14 22:06:32
css
Denis Bukreev, 2017-02-14 22:06:32

Why does transform: scale() blur SVG?

So it goes.
I make an animation similar to this (look at the logo): tuborg0001.fallwinter.dk
In the example, transform changes with js, as an image - png
. For me, transform changes by changing classes, as an image - SVG
At the same time, in the example, the image increases without blur, everything is lathering - what's the trouble? How to avoid?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
I
iBird Rose, 2017-02-14
@iiiBird

there is a gradual change. done through the sine wave formula. and all scale animation via js. and when animating through classes and transition - browser rendering is different. most likely because of this

D
dom1n1k, 2017-02-14
@dom1n1k

The transform CSS properties are applied to the already rendered, i.e. raster image. SVG is first rasterized and then stretched with styles. This gives both pros (speed) and cons (soap).
This is one of the reasons why these properties cannot be thoughtlessly popped everywhere in a row, as some modern layout designers love to do.

R
Rafael™, 2017-02-15
@maxminimus

so that svg does not wash - embed it in css code as base64

M
Maxim Timofeev, 2017-10-09
@myks92

Judging by

please set date.timezone
You need to set the timezone, apparently in the database.

M
Maxim Fedorov, 2017-10-09
@Maksclub

Check the password and login
try to connect in the console with your passwords and logins to MySQL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question