我想打,看起來像一個谷歌搜索框SVG動畫文本字體樣式
我這裏所說的出現在「大膽」字體的文本路徑的動畫。
我想這樣的動畫字的第一個字母出現「常規」,然後在第一,第二,那麼第一,第二和第三等
這是可以做到與SVG動畫?
<svg width="100%" height="100%" viewBox="30 -50 600 500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<path id="path1">
<animate attributeName="d" from="m100,50 h0" to="m100,50 h1100" dur="5s" begin="0s" repeatCount="indefinite" />
</path>
// this text "types"
<text font-size="90" font-family="Montserrat" fill='black'>
<textPath xlink:href="#path1">Google is</textPath>
</text>
// I want this text to animate the "font-style"
<text font-size="90" font-family="Montserrat" fill='black' x="100" y="200">
Google is gold
<animate attributeType="CSS" .... />
</text>
感謝。我需要給每個一個ID來做到這一點?我也可以通過在animate標籤中寫入font-style ='regular'並給每個人一個不同的begin =「?s」來設置動畫效果? –
user3821345
如果你想讓它們鏈接,在前一個 –