Bootstrap snippet. Bootstrap colored Nav with nice alerts

This Bootstrap snippet. Bootstrap colored Nav with nice alerts, was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: colored,nav,alert

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection


<div class="container bootstrap snippet">

<ul class="nav nav-pills nav-with-alerts">
    <li class="col-lg-3">
		<a href="#info" data-toggle="tab">
			<div class="alert alert-info">
				Informations
				<span class="label label-info pull-right">12</span>
			</div>
		</a>
	</li>
	<li class="col-lg-3">
		<a href="#success" data-toggle="tab">
			<div class="alert alert-success">
				Successes
				<span class="label label-success pull-right">34</span>
			</div>
		</a>
	</li>
	<li class="col-lg-3">
		<a href="#warning" data-toggle="tab">
			<div class="alert alert-warning">
				Warnings
				<span class="label label-warning pull-right">56</span>
			</div>
		</a>
	</li>
	<li class="col-lg-3">
		<a href="#error" data-toggle="tab">
			<div class="alert alert-danger">
				Errors
				<span class="label label-danger pull-right">78</span>
			</div>
		</a>
	</li>
</ul>

<div class="tab-content">
	<div class="tab-pane fade" id="info">
		<div class="alert alert-info">
			<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vehicula nec arcu at faucibus. Duis justo urna, adipiscing quis turpis non, dictum hendrerit ipsum. Fusce non viverra erat. Curabitur sit amet ante dui. Donec congue molestie mi a varius. Suspendisse potenti. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam ornare quam eu ultricies bibendum. Cras ante augue, pharetra eget ultricies eu, aliquam eu velit. Phasellus mattis vitae justo pretium tempus. Duis vitae felis et sem tristique suscipit. Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
		</div>
	</div>
	<div class="tab-pane fade" id="success">
		<div class="alert alert-success">
			<p>Nulla magna sapien, ullamcorper nec dolor id, gravida venenatis velit. Aliquam et malesuada metus. Sed vitae turpis pharetra nunc dignissim ultricies et sit amet lacus. Cras gravida felis mauris, a pellentesque augue interdum ac. In varius facilisis ante, nec viverra libero commodo ac. Maecenas tempus, elit nec aliquet fermentum, tellus odio auctor sapien, eu scelerisque purus turpis quis eros. Morbi id ante diam. Phasellus aliquet purus id odio mollis dignissim. Proin sagittis, risus a ullamcorper dapibus, velit enim adipiscing nulla, vel facilisis ipsum dui quis diam. Aliquam ullamcorper accumsan felis id consequat. Nullam vehicula ut mi eget porta.</p>
		</div>
	</div>
	<div class="tab-pane fade" id="warning">
		<div class="alert alert-warning">
			<p>Curabitur varius euismod nisi ac lacinia. Curabitur nec urna adipiscing, fermentum augue id, commodo nisl. Quisque ut convallis est. Suspendisse tellus nisi, tempus eu nulla quis, laoreet imperdiet ante. Vivamus in lorem purus. Integer luctus elit et metus condimentum porta. Suspendisse viverra sit amet mauris vel elementum. Fusce lorem arcu, accumsan non odio vel, vestibulum pharetra odio. Sed non mollis mi, ac lacinia nunc. Cras eleifend massa velit, tincidunt tempor arcu sodales at. Nam sit amet erat enim. Mauris placerat suscipit odio, vitae gravida purus bibendum sed. Suspendisse a nunc quis libero rutrum mattis at ac metus. In ac risus eleifend, vestibulum mi eget, dapibus nulla. Nunc diam eros, convallis a sagittis non, rhoncus non nunc. Maecenas in eleifend quam.</p>
		</div>
	</div>
	<div class="tab-pane fade" id="error">
		<div class="alert alert-danger">
			<p>Sed quis dapibus nunc. Proin vestibulum libero elit, gravida tincidunt mauris tincidunt blandit. Donec non ultrices neque, nec sollicitudin elit. Curabitur volutpat nulla vel mauris vestibulum, tempor ultrices quam ullamcorper. Fusce ultricies elementum pretium. In vel consectetur leo, nec rutrum velit. Fusce fermentum pulvinar nibh. Ut posuere ante sed luctus egestas. Aenean ut suscipit tortor.</p>
		</div>
	</div>
</div>

</div>








        

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection


                
body{margin-top:20px;}   
.nav.nav-with-alerts > li { margin: 0; padding: 0 10px 0 0; }
.nav.nav-with-alerts > li > a[data-toggle="tab"] { padding: 0; }
.nav.nav-with-alerts > li > a[data-toggle="tab"] > .alert { margin: 0; padding: 10px 15px; }
                                    

Similar snippets

Bootstrap snippet Colorful cards with gradient

Colorful cards with gradient

View

Bootstrap snippet unify colorful notifications

unify colorful notifications

View

Bootstrap snippet Colored user cards

Colored user cards

View

Bootstrap snippet notifications panel

notifications panel

View

Bootstrap snippets. Bootstrap colored Nav with nice alerts

About this bootstrap snippet

This bootstrap snippet, Bootstrap colored Nav with nice alerts, was published on Apr 24th 2014, 12:39 by Dey Dey and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 3.8K views and with this snippet you have the following featrures:

Bootstrap 3.1.0

This snippet is based on bootstrap 3.1.0 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Rated 5/5 based on 5 reviews