bustify.php


Quell Code


 
<main class="main article">

  
  <h1 class="article__heading">
    Bustify.js  </h1>
      <section class="article__demo">
      <div class="container container--mid">
  <img src="https://matthewlein.com/content/experiments/bustify/solar.jpg" id="solar">
</div>

<script src="https://matthewlein.com/content/experiments/bustify/bustify.js"></script>
<script>
  var img = document.getElementById('solar');

  function bust() {
    img.bustify({
      width: 30,
      height: 30,
      intensity: 1,
    });
  }
  if (img.complete) {
    bust();
  } else {
    img.addEventListener('load', bust);
  }
</script>

 
  </div>

</main>



Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0