微信公眾號推文svg點擊交互的方法


微信公眾號推文svg點擊交互的方法

先來個簡單的例子

點擊空白出出現文字

<section class="_135editor" >
    <svg width="420" height="700" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
        <text font-family="microsoft yahei" font-size="120" y="160" x="160" opacity="0">
           文字
            <animate attributename="opacity" from="0" to="1" begin="click" fill="freeze" dur="3s"></animate>
        </text>
    </svg>
</section>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM