0
我想知道如何在<animate>
SMIL標籤內的SVG this CSS self-drawing effect上完成。我不會使用css動畫,而是使用類似於此的:如何用SMIL動畫(不是CSS)自畫一條線
<line fill="none" stroke="#BBBBBB" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="19.69" y1="75.671" x2="19.69" y2="175.79"/>
<animate xlink:href="#first-line" attributeName="stroke" from="transparent" to="#BBBBBB" dur="0.5s" begin="0" />
但是,我無法使其工作。什麼是正確的方法?
是的,謝謝你,這是ID事情:)我想它總是幫助在代碼中的第二次看當你在它前面花了太多的時間。 – ohmmho