How TO - Icon Bar

Multi tool use
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1422003450156-2'); });
How TO - Icon Bar
❮ Previous
Next ❯
Learn how to create icon bars with CSS.
Vertical:
Try it Yourself »
Try it Yourself »
How To Create an Icon Bar
Step 1) Add HTML:
Example
<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<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>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1493883843099-0'); });
Step 2) Add CSS:
Vertical Example
.icon-bar {
width:
90px; /* Set a specific width */
background-color: #555; /* Dark-grey background */
}
.icon-bar a {
display: block; /* Make the links appear below each other instead of
side-by-side */
text-align: center; /* Center-align text
*/
padding: 16px; /* Add some 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 */
}
Try it Yourself »
Horizontal Example
.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 */
}
Try it Yourself »
Related Pages
Tip: Go to our CSS Navbar Tutorial to learn more about navigation bars.
Tip: Go to our Icons Tutorial to learn more about icons.
❮ Previous
Next ❯
Lt,pnbmXhHW,VA
Popular posts from this blog
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I'm using WordPress 4.9.8, CiviCRM to 5.5.1, I usually send email to contact by Search> Find contacts View contact details Action> Send email Send email ok, Contact received mail ok like picture But status only Email sent though contact read email or not. So, can CiviCRM can change status to Email read when contact read email? wordpress email share | improve this question asked Sep 26 at 0:12 ToanLuong 49 9 add a comment  | up vote 1 down vote favorite I'm using WordPress 4.9.8, CiviCRM to 5.5.1, I usually send email to contact by Search> Find contacts View contact details Action> Send email Send email ok, Contact received mail ok like picture But status only Email sent though contact read email or not. So, can CiviCRM can change status to Email read when contact read email? wordpress email share | improve this questi...
Clash Royale CLAN TAG #URR8PPP up vote 2 down vote favorite I am currently learning reverse engineering and am studying the flags register. I had in my mind that rflags was just another name for one of the 16 general purpose registers, for example rax or rbx . But it looks like rflags is actually an additional register. So that makes 17 registers in total... how many more could there be? I have spent at least an hour on this and found numerous different answers. The best answer so far is this, which says that there are 40 registers in total. 16 General Purpose Registers 2 Status Registers 6 Code Segment Registers 16 SSE Registers 8 FPU/MMX Registers But if I add that up, I get 48. Could anybody provide an official answer on how many registers an x86_64 CPU has (e.g. an Intel i7). Additionally, I have seen references to 'hardware' and 'architectural' registers. What are those registers and how many are there? register x86-64 share | improve this...
Clash Royale CLAN TAG #URR8PPP 1 How can I extract a single band from multi-band raster in QGIS? I have an remote sensed image which has 6 bands (including NDVI band), I want to display each band separately, but have no idea how to do. I have seen some questions similar here but none worked for me. The original image (has 6 bands) is: I want to display the band 6 which should be like this: But I tried gdal_translate, and couldn't get the correct result. What I have got is: qgis raster multi-band share | improve this question edited Mar 5 at 0:53 Summer asked Mar 4 at 6:42 Summer Summer 23 6 Is this any help gis.stackexchange.com/questions/220658/… ? if not gis.stackexchange.com/questions/62133/… might help. – Michael Stimson Mar 4 at 6:46 Thanks for answering but when I used gdal_translate, qgis showed that 'Error 4: Kayena.tif: No such file or directory". Would you know how to fi...