Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
Particles JS is not covering full page

Hello!

My problem is with Particles JS, it doesn't cover my page. There is a space at the top. enter image description here

HTML:

...
<body>
    ...
        <div id="particles-js"></div>
        <img alt="Server Name" draggable="false" id="Logo" src="assets/img/logo.png">
        <div id="Navigation">
            <a href="#"><img alt="Forums" draggable="false" src="assets/img/icon_exemple.png"></a>
            <a href="#"><img alt="Store" draggable="false" src="assets/img/icon_exemple.png"></a>
            <a href="#"><img alt="Vote" draggable="false" src="assets/img/icon_exemple.png"></a>
        </div>
        <button id="Server" onclick="copyToClipboard('server.ip:port')"><span>Join to us</span></button>
    ...
</body>
...

CSS:

...
body {
  background-image: url(../img/background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}
#particles-js {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: -100;
}
...

I tried to solve the problem myself trying different options but nothing.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You should add position values to #particle-js

#particles-js {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: -100;
  top:0;
  left:0;
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!