LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
body {
  margin: 0;
  padding: 0;
}

.demo {
  background: radial-gradient(farthest-side ellipse at 10% 0, #ffe6ff, #8cccd9 80%, #7083c2 120%);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: 2s;
}
.demo--active {
  opacity: 1;
}
JS
window.addEventListener('load', () => {
  var target = document.getElementById('demo');
  target.classList.add('demo--active');
});
Term
Wed, 11/29/2017 - 13:56

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv