<div id="svgContainer"></div>
html {
  margin: 0;
  padding: 0;
  background-color: black;
}

body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

#svgContainer {
  max-width: 100%;
  max-height: 100%;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
/* Shapes */
var svgContainer = document.getElementById('svgContainer');
var animItem = bodymovin.loadAnimation({
  wrapper: svgContainer,
  animType: 'svg',
  loop: true,
  path: 'https://labs.nearpod.com/bodymovin/demo/markus/halloween/markus.json'
});
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://labs.nearpod.com/bodymovin/demo/markus/halloween/lt.min.js