bdev
bdev

Reputation: 81

transform-origin in IE

Does anyone know how to use transform-origin in IE11? I'm trying to rotate a group in svg using D3js.

This seems to work for Chrome, but not IE. wheel.style('transform-origin', '50%, 50%')

Thanks in advance!

Upvotes: 1

Views: 1923

Answers (1)

Zhi Lv
Zhi Lv

Reputation: 21656

The transform-origin CSS property on the SVG elements not support on the IE 11 browser. You could check this article. Besides, you could refer to the article to use transform and rotate attribute to rotate the SVG.

Upvotes: 1

Related Questions