Add a picture and navbar on particles.js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Add a picture and navbar on particles.js

Hello guys, I am working with html and css since 2-3 weeks. Since two days I have a problem and I dont know how to solve it. I want this background (particles.js) over this I want a picture in the center of the screen. And then I want a navigationbar on the upper right side. My problems: - I have problems to put my picture in the center - I cant manage to get the navbar on the right side. Float isnt working To add the picture over the background I worked with z-index. Is this a bad way?

5th Aug 2017, 6:34 PM
SergeantChad
3 Answers
+ 4
code plz, may be I can help you.
5th Aug 2017, 6:39 PM
Amethyst Animion
Amethyst Animion - avatar
+ 1
Here, I uploaded my html and css code https://code.sololearn.com/WOqUIY8NiccF/?ref=app
5th Aug 2017, 6:39 PM
SergeantChad
0
@JFS Animion I uploaded the code in the comments. Can you see it/ did it worked?
5th Aug 2017, 6:41 PM
SergeantChad