When I make a successful insertion I show a success message to the user containing an svg success icon as it's shown. I want to first show the green circle than animate the OK mark and how to do that using Java Script for future SVG animation.
Here is the html:
#svgcont {
width: 400px;
height: 430px;
display: block;
margin-left: auto;
margin-right: auto;
}
<div>
<div id="svgcont">
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
<circle style="fill:#25AE88;" cx="25" cy="25" r="25"/>
<polyline style="fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" points="
38,15 22,33 12,25 "/>
</svg>
<p>The success message</p>
</div>
</div>