creotip / vue-particles

Vue.js component for particles backgrounds ✨

Home Page:http://vue-particles.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set width and height?

hackuun opened this issue · comments

I want to make it fullscreen, how to do that?

UPD. I was able to set it fullscreen by adding this

.particles-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
}

#particles-js {
  width: 100%;
  height: 100vh;
}

But it doesn't seems like a native solution.

Ok, so if I am getting right, it's the only way, there's no bindings in attributes for that.