变换原点SVGs在Firefox [英] Transform origin on SVGs in Firefox

查看:158
本文介绍了变换原点SVGs在Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的动画SVGs&安培;我遇到了似乎只在Firefox中发生的问题。我创建了一个动画在这里 - HTTP://$c$cpen.io/iamali/pen/txvpo - 天空的景象。太阳应该旋转和放;淡入和放大器;出去。

I'm new to animating SVGs & I've come across a problem that only seems to happen in Firefox. I've created a animation here - http://codepen.io/iamali/pen/txvpo - of a sky scene. The sun should rotate & fade in & out.

它工作正常,在Chrome中,但由于某些原因,它似乎忽略了在Firefox中变换原值和太阳去擅离职守。有谁知道在Firefox这样一个问题呢?或可能是什么吗?我试过谷歌的各种条款,但似乎没有多大那里就可以了。

It works fine in Chrome, but for some reason it appears to ignore the transform-origin value in Firefox and the sun goes AWOL. Does anyone know of such an issue in Firefox? Or could it be anything else? I've tried Google all sorts of terms but there doesn't seem to be much out there on it.

谢谢!

推荐答案

变换起源与百分比从单位的火狐43起

transform-origin with percentage units works from Firefox 43 onwards.

这篇关于变换原点SVGs在Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆