Get started with sprint CDN
MIT licensed
Sprint is a lightweight library for building and automating unit tests with a focus on simplicity and ease of use.
Tags:- high-performance
- jQuery-like
- tiny
Stable version
Copied!
How to start using sprint CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with sprint CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<script src="https://cdn.cdnhub.io/sprint/0.9.2/sprint.min.js"></script>
<style>
.container { width: 300px; margin: 0 auto; }
.box { width: 150px; height: 150px; background-color: #f00; }
</style>
</head>
<body>
<div class="container">
<div class="box sprint-animate" data-sprint="animate-left in" data-sprint-delay="0.2s">Box 1</div>
<div class="box sprint-animate" data-sprint="animate-right in" data-sprint-delay="0.4s">Box 2</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
Sprint.init();
});
</script>
</body>
</html>
Copied!
Copied!