0
私はSVGコードで挑戦しています。私は持っていたい結果を得ることができません。SVGのアニメーションはうまくいきません
私はrow_fiveの反対が欲しいです。 行は、下から上に伸びる必要があります。
コード:
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(216, 216, 216);">
<rect x="00" y="90" width="20" height="10" style="fill: rgb(216, 216, 216);" id="row_one"/>
<rect x="30" y="70" width="20" height="30" style="fill: rgb(216, 216, 216);" id="row_two"/>
<rect x="60" y="50" width="20" height="50" style="fill: rgb(216, 216, 216);" id="row_three"/>
<rect x="90" y="30" width="20" height="70" style="fill: rgb(216, 216, 216);" id="row_four"/>
<rect x="120" y="10" width="20" height="90" style="fill: rgb(216, 216, 216);" id="row_five">
<animate attributeName="height" from="0" to="90" begin= "0s" dur="1s"/>
</rect>
</svg>
までの100から
y
をアニメーション化する必要があります。 –あなたはこれのような意味ですか? '' rect = "120" y = "10" width = "20" height = "90" style = "fill:rgb(216,216,216);"属性名= "<" from = "0"〜= "90" begin = "0s" dur = "1s" /> 'これは以前と同じ結果を持っています –
Daniel