P
P
pavelkunyavskiy2018-02-10 16:46:10
css
pavelkunyavskiy, 2018-02-10 16:46:10

RotateX, translate3d, scale not working on g tag in svg?

Exported svgeshka from Figma.
I want to style in html using CSS. For example, light animation.
Work: opacity, translateY, translateX.
Why doesn't rotateX, translate3d, scale, translateZ work? I also set perspective.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BanterFace, 2018-02-13
@BanterFace

Use svg alternatives to these properties.
A brief googling yielded the following matches:
  Perspective
  RotateX - should work ... Scale, TranslateZ\3d ibid.
Application examples .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question