Get started with link-styler CDN
MIT licensed
Lights-out library, Link Styler, customizes hyperlink looks in web content.
Tags:- autolink
- hashtag
- mention
Stable version
Copied!
How to start using link-styler CDN
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.cdnhub.io/link-styler/1.0.7/link-styler.js"></script>
<title>Get started with link-styler CDN - cdnhub.io</title>
</head>
<body>
<a class="custom-link" href="https://example.com">Custom Link</a>
<script>
document.addEventListener('DOMContentLoaded', () => {
linkStyler.init({
selector: '.custom-link',
options: {
color: '#ff69b4',
hoverColor: '#a020f0',
underline: false,
background: 'linear-gradient(to right, #ff69b4, #a020f0)'
}
});
});
</script>
</body>
</html>
Copied!
Copied!