"Happy Valentine's"
Bootstrap 3.1.0 Snippet by msurguy

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <script src="http://mymaplist.com/js/vendor/TweenLite.min.js"></script> <link href='http://fonts.googleapis.com/css?family=Roboto:700' rel='stylesheet' type='text/css'/> <div class="container"> <div class="row text-center"> <h1> <span class="header"> <span class="heart"><i class="glyphicon glyphicon-heart"></i></span> Happy Valentine's! <span class="heart"><i class="glyphicon glyphicon-heart"></i></span> </span> </h1> </div> </div>
html, body { padding-top:100px; font-family: 'Roboto', sans-serif; font-weight: 700; color: #FFF; } body{ background: url(https://dl.dropboxusercontent.com/u/3533410/bgs/bg.jpg); background-color: #444; background: url(https://dl.dropboxusercontent.com/u/3533410/bgs/heart.png),url(https://dl.dropboxusercontent.com/u/3533410/bgs/heart2.png),url(https://dl.dropboxusercontent.com/u/3533410/bgs/bg.jpg); } .header{ padding:20px; border:2px #FFF solid; border-radius : 15px; } @-webkit-keyframes pound { from { -webkit-transform: none; } 50% { -webkit-transform: scale(2); } to { -webkit-transform: none; } } .heart { display: inline-block; -webkit-animation: pound 1s infinite; -webkit-transform-origin: center; }
$(document).ready(function(){ $(document).mousemove(function(e){ TweenLite.to($('body'), .5, { css: { 'background-position':parseInt(event.pageX/8) + "px "+parseInt(event.pageY/12)+"px, "+parseInt(event.pageX/15)+"px "+parseInt(event.pageY/15)+"px, "+parseInt(event.pageX/30)+"px "+parseInt(event.pageY/30)+"px" } }); }); });

Related: See More


Questions / Comments: