attributename可以有任何值,还是仅限于x和y? [英] Can attributename have any value or is it limited to x and y?

查看:48
本文介绍了attributename可以有任何值,还是仅限于x和y?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据sololearn,attributeName指定动画会影响哪个属性,但是它们只给出了attributeName可以等于x(对于x轴),y(y轴), 填充和转换,但我想知道它是否仅限于这4个值,或者它是否可以有其他值。



我尝试了什么:



另外,我没有得到填充和转换值,它们的用途是什么?

解决方案

请参阅< animate> - SVG | MDN [ ^ ]。

According to sololearn, "attributeName" specifies which attribute will be affected by the animation, but they only give examples where attributeName can be equal to "x" (for x-axis), "y" (y-axis), "fill", and "transform", but I was wondering if it was only limited to those 4 values, or if it can have other values.

What I have tried:

Also, I didn't get the fill and transform values, what are they for?

解决方案

See <animate> - SVG | MDN[^].


这篇关于attributename可以有任何值,还是仅限于x和y?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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