<style lang="scss">
    #pjs{
        position: fixed;
        width: 100%;
        height: 100vh;
        z-index: -1;
        animation: fadein .5s;
    }

    @keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
</style>
<script src="/js/particles.min.js"/>
<div id="pjs"></div>
<script>
    particlesJS.load('pjs', '/particlesjs-config.json');
</script>