Center navbar? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Center navbar?

OK, so go to my site and take a look at the navbar: https://vespr.xyz/ I can't like put extra size onto the ends because then it doesn't work, by the way, here's the code: .header { background-color: #3498db; min-height: 60px; width: 100%; } If you can answer this than thanks, I'm a beginner to CSS.

20th Mar 2018, 12:00 AM
epic gamer
epic gamer - avatar
2 Respostas
+ 1
Did you try using margin? And if it doesnā€™t work, trying learning about something called CSS3 flex box, itā€™s a little more advanced but itā€™s so powerful
20th Mar 2018, 4:19 AM
Ariela
Ariela - avatar
0
Margin only went left and Iā€™ll try that.
20th Mar 2018, 12:45 PM
epic gamer
epic gamer - avatar