Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Instant Grammar Checker - Correct all grammar errors and enhance your writing

Semrush - keyword research tool

Linux Foundation Training and Certification

Teach Your Child To Read

Disclosure: My content contains affiliate links.

32,307 questions

42,482 answers

573 users

How to create top navbar with logo in Bootstrap 4

Learn & Practice SQL


163 views
asked Apr 4, 2020 by avibootz
retagged Apr 4, 2020 by avibootz

1 Answer

0 votes
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8">
	<!-- scale=1 for mobile website -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Bootstrap 4</title>
    <link
      rel="stylesheet"
      href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
    />
</head>

<body>

	<!-- Navigation -->
	<!-- Medium (md) for devices like tablets, 768px and up -->
	<nav class="navbar navbar-expand-md navbar-light bg-light sticky-top">
		<!-- container-fluid for 100% of the screen -->
		<div class="container-fluid">
			<a class="navbar-brand" href="#"><img src="img/yourlogo.png"></a>
		</div>
	</nav>

</body>

</html>

 



Learn & Practice Python
with the most comprehensive set of 13 hands-on online Python courses
Start now


answered Apr 4, 2020 by avibootz
edited Apr 4, 2020 by avibootz
...