How can I set this menu bar to fit all the screen on the left, right and top?

Hey guys, I’d like to know how can I set this menu bar to fully fit the top, right and left of the screen. I mean, I’d like that the background image doesn’t appear on the nav bar area. I hope I’m being clear.

Thanks in advance!

Here is my code:

Looks like the default browser styles are still applied. As per default, there are margins and paddings for some elements, such as the body.
Add this style to your css:

* {
  margin: 0;
  padding: 0;
}

The asterisk targets all elements, so put that on top of your css code. Then you can override margins and paddings for some elements later.

1 Like