Get started with dd_belatedpng CDN

MIT licensed

Libraries like dd_belatedPNG display PNG backgrounds in old browsers without CSS transparency.

Tags:
  • ie6
  • png

Stable version

Copied!

How to start using dd_belatedpng CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with dd_belatedpng CDN - cdnhub.io</title>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
  <script src="https://cdn.cdnhub.io/dd_belatedpng/0.0.8/dd_belatedpng.min.js"></script>
  <style>
    .belated-png {
      width: 100px;
      height: 100px;
      background-image: url('your-image.png');
      background-size: contain;
      margin: 20px;
    }
  </style>
</head>
<body>
  <div class="belated-png"></div>
  <script>
    $(document).ready(function() {
      $('.belated-png').dd_belatedpng();
    });
  </script>
</body>
</html>
Copied!

All versions