"svg animation "
Bootstrap 4.0.0 Snippet by ALIMUL AL RAZY

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <svg class=“heart-icon" version="1.1" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="150px" height="150px" viewBox="0 0 200 200" xml:space="preserve"> <path class="path" fill="none" stroke="#000000" stroke-width="6" stroke-miterlimit="10" d="M99.4,183c0,0,90.2-70.1,90.2-108.6 S164.6,21,144.5,21S99.4,49.4,99.4,49.4S78.9,21,56.9,21c-22,0-48.4,9.2-45.9,53.4S99.4,183,99.4,183z"/> </svg> </div> </div>
@keyframes draw { 100% { stroke-dashoffset: 0; } } .path { stroke-dasharray: 555; stroke-dashoffset: 555; -webkit-animation: draw 3s normal linear forwards; -moz-animation-name: draw 3s normal linear forwards; -o-animation-name: draw 3s normal linear forwards; animation-name: draw 3s normal linear forwards; }

Related: See More


Questions / Comments: