<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" xml:space="preserve">
<svg width="600" height="100" viewBox="0 0 600 100">
<defs>
<g id="fond">
<rect x="0" y="0" width="600" height="100" fill="white"/>
<text x="300" y="60" style="text-anchor:middle;font-size:35;font-family:Arial;fill:red">
블로그 방문을 환영합니다
</text>
</g>
<clipPath id="spot" clipPathUnits="userSpaceOnUse">
<circle cx="0" cy="50" r="50">
<animateMotion dur="5s" repeatCount="indefinite" path="M0 0 1600 0"/>
</circle>
</clipPath>
</defs>
<rect x="0" y="0" width="600" height="100" fill="black"/>
<text x="300" y="60" style="text-anchor:middle;font-size:35;font-family:Arial;fill:yellow;fill-opcity:0.7">
Welcome to my blog</text>
<use clip-path="url(#spot)" xlink:href="#fond"/>
</svg>
</svg>
'SVG' 카테고리의 다른 글
SVG 란? (0) | 2014.04.27 |
---|---|
SVG 예제 - 그래프 (0) | 2013.11.20 |
SVG 예제 - 라인을 따라 움직이는 텍스트 (0) | 2013.11.20 |