Get started with shine.js CDN

MIT licensed

Shine.js: Lightweight library for CSS3 animations/transitions in old browsers without native support.

Tags:
  • shine
  • shadows

Stable version

Copied!

How to start using shine.js CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with shine.js CDN - cdnhub.io</title>
  <style>
    #shiny {
      font-size: 3em;
      text-align: center;
      margin-top: 50vh;
    }
  </style>
  <script src="https://cdn.cdnhub.io/shine.js/0.2.7/shine.min.js"></script>
</head>
<body>
  <div id="shiny">Shine text here!</div>
  <script>
    Shine.TextEffect.init({
      selector: '#shiny',
      effect: 'shine',
      settings: {
        color: '#FFF',
        intensity: 10,
        speed: 1
      }
    });
  </script>
</body>
</html>
Copied!
Copied!

All versions