How to add navbar background color? give me code help me? | Sololearn: Learn to code for FREE!

+1

How to add navbar background color? give me code help me?

help me

3/13/2019 5:18:31 PM

Aniket Ahir

3 Answers

New Answer

+5

Two ways inline <nav style="background-color:#f00;"> </nav> Or css as nav { background-color:#0f0; }

+3

As BroFarOps©®️™️the 🐱 mentioned, you can style your navbar with either a style attribute or by using an external CSS stylesheet. Also, within the <style> ... </style> tags.

0

nav { background-color:red; }