Draggable Pizza

HTML
<div> <img src="http://vignette2.wikia.nocookie.net/bravestwarriors/images/f/f4/PIzza.png/revision/latest?cb=20121123053932"> </div>
SCSS
body { display: flex; align-items: center; justify-content: center; height: 100vh; background: linear-gradient(to top, #1e5799 0%, #2ce0bf 19%, #76dd2c 40%, #dba62b 60%, #e02cbf 83%, #1e5799 100%); background-size: 10000px, 100%; animation: bg 15s linear infinite ; } @keyframes bg { 0% { background-position-y: 0; } 100% { background-position-y: 100%; } }
JAVASCRIPT
$(function() { $('div').draggable(); });
Expand for more options Login