+ 1

Nav Bar

What’s the basic code for creating a navigation bar?

8th Sep 2018, 10:39 PM
Marleith McK
Marleith McK - avatar
3 Antworten
+ 10
HTML: <nav> <a href="#">Home</a> <a href="#">News</a> <a href="#">About</a> </nav> Css nav { background:black; overflow:hidden; } nav a{ float:left; text-decoration:none; color:white; padding:10px 150x; font-size:15px; } nav a:hover { background:red; }
8th Sep 2018, 11:17 PM
Naola
Naola - avatar
8th Sep 2018, 10:42 PM
NezhnyjVampir
0
Thank you!
10th Sep 2018, 1:02 AM
Marleith McK
Marleith McK - avatar