Icon Navigation Bar

100.00 0.00

Navigation Bar:

Navigation Bar is  a List of Links

Icons:

Icon is a small graphical representation

Icon Navigation Bar
Icon Navigation Bar

How to create Icon Navigation Bar?

1. Add this Icon library (Font-Awesome) in Header Tag

<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css”>

      2. Add Html

<div class=”icon-bar”>
<a class=”active” href=”#”><i class=”fa fa-home”></i></a>
<a href=”#”><i class=”fa fa-search”></i></a>
<a href=”#”><i class=”fa fa-envelope”></i></a>
<a href=”#”><i class=”fa fa-globe”></i></a>
<a href=”#”><i class=”fa fa-trash”></i></a>
</div>

Categories: , ,

Description

Navigation Bar:

Navigation Bar is  a List of Links

Icons:

Icon is a small graphical representation

Icon Navigation Bar
Icon Navigation Bar

How to create Icon Navigation Bar?

1. Add this Icon library (Font-Awesome) in Header Tag

<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css”>

      2. Add Html

<div class=”icon-bar”>
<a class=”active” href=”#”><i class=”fa fa-home”></i></a>
<a href=”#”><i class=”fa fa-search”></i></a>
<a href=”#”><i class=”fa fa-envelope”></i></a>
<a href=”#”><i class=”fa fa-globe”></i></a>
<a href=”#”><i class=”fa fa-trash”></i></a>
</div>

      3. Add CSS

.icon-bar {
width: 100%; /* Full-width */
background-color: #555; /* Dark-grey background */
overflow: auto; /* Overflow due to float */
}

.icon-bar a {
float: left; /* Float links side by side */
text-align: center; /* Center-align text */
width: 20%; /* Equal width (5 icons with 20% width each = 100%) */
padding: 12px 0; /* Some top and bottom padding */
transition: all 0.3s ease; /* Add transition for hover effects */
color: white; /* White text color */
font-size: 36px; /* Increased font size */
}

.icon-bar a:hover {
background-color: #000; /* Add a hover color */
}

.active {
background-color: #4CAF50; /* Add an active/current color */

 

 

Reviews

There are no reviews yet.

Be the first to review “Icon Navigation Bar”

Your email address will not be published. Required fields are marked *