Get started with numbered CDN
MIT licensed
Collection of labeled JS functions for simple project integration.
Tags:- numbers
- words
- stringify
- parse
Stable version
Copied!
How to start using numbered CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with numbered CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<script src="https://cdn.cdnhub.io/numbered/1.1.0/index.min.js"></script>
<style>
.numbered-list {
list-style-type: none;
padding: 0;
margin: 0;
}
.numbered-list li {
position: relative;
padding: 10px 0;
}
.numbered-list li:before {
content: attr(data-number);
position: absolute;
left: -30px;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
background-color: #ddd;
border-radius: 50%;
color: #333;
animation: numbered 0.5s ease-in-out both;
}
@keyframes numbered {
0% {
transform: translateX(-30px);
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
</style>
</head>
<body>
<ul class="numbered-list">
<li data-number="1">First item</li>
<li data-number="2">Second item</li>
<li data-number="3">Third item</li>
</ul>
</body>
</html>
Copied!
Copied!
Copied!