Hey everyone,

I am trying to add VantaJS to my header page but it seems to have no effect.

Link to VantaJS:

https://www.vantajs.com/?effect=halo#(amplitudeFactor:0,backgroundAlpha:1,backgroundColor:0,baseColor:917759,color2:15918901,minHeight:200,minWidth:200,mouseControls:!t,mouseEase:!t,ringFactor:1,rotationFactor:1,scale:1,scaleMobile:1,size:1.1,speed:1,touchControls:!t,xOffset:0.18,yOffset:0)

I added three.r95 & vanta.halo as can be seen below. Does anybody know what I am doing wrong here? All I see is a blank screen.

r/webdev - How do I add VantaJS background to my webpage?

HTML & CSS

r/webdev - How do I add VantaJS background to my webpage?

Console Log

Thanks very much!



Source link

Write A Comment