I have problem setting the background image from folder, 'img/flower.jpg'. I tried using the following code in CSS, the image does not show up: However it works if I reference it from a source in internet.
#navigation,.navbar .navbar-default{
background-image: url("img/flower.jpg");
background: url('img/flower.jpg');
}
<div class="container">
<!-- Navigation -->
<nav class="navbar navbar-default " id="navigation" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
Jeen's Portfolio
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
</div>
/* CSS used here will be applied after bootstrap.css */
#navigation,.navbar .navbar-default{
border-top: 2px dotted blue;
border-bottom: 2px dotted blue;
background-image: url("http://upload.wikimedia.org/wikipedia/commons/6/6b/Bubble_3.jpg");
background: url('http://upload.wikimedia.org/wikipedia/commons/6/6b/Bubble_3.jpg');
font-style: zapfino;
}
Demo