2
即使我添加了-webkit-前缀,stroke-dashoffset也不能用于safari。请帮帮我。谢谢!....SVG stroke-dashoffset不适用于safari
这里是我的示例代码....
#path1 {
stroke-dasharray: 500;
-webkit-animation: dash 2s ease;
animation: dash 2s ease;
display:inline-block;
}
.path2 {
stroke-dasharray: 500;
-webkit-animation: dash 2s ease;
animation: dash 2s ease;
display:inline-block;
}
@keyframes dash {
from {
stroke-dashoffset: -500;
}
}
@-webkit-keyframes dash {
from {
stroke-dashoffset: -500;
}
}
帮助我们来帮助你。请提供[MCVE](http://stackoverflow.com/help/mcve)。 –