Css For Navbar

[Solved] Css For Navbar | Swift - Code Explorer | yomemimo.com
Question : navbar css code

Answered by : curious-caribou-naeo45ma9r7x

header img { height: 80px; margin-left: 40px;
}
body { height: 125vh; background-image: url('https://codetheweb.blog/assets/img/posts/style-a-navigation-bar-css/background.jpg'); background-size: cover; font-family: sans-serif; margin-top: 80px; padding: 30px;
}
main { color: white;
}
header { background-color: white; position: fixed; top: 0; left: 0; right: 0; height: 80px; display: flex; align-items: center; box-shadow: 0 0 25px 0 black;
}
header * { display: inline;
}
header li { margin: 20px;
}
header li a { color: black; text-decoration: none;
}

Source : https://codetheweb.blog/style-a-navigation-bar-css/ | Last Update : Wed, 26 Jan 22

Answers related to css for navbar

Code Explorer Popular Question For Swift