This is the code for my sidebar HTML, with the side navigation bar positioned on the left:
#main-container {
display: table;
width: 100%;
height: 100%;
}
#sidebar {
display: table-cell;
width: 15%;
vertical-align: top;
background-color: #ffffff;
box-shadow: 1px 0px 3px grey;
}
#sidebar a {
text-decoration: none;
display: block;
padding: 20px 0 20px 30px;
color: #000000;
letter-spacing: 1px;
}
#sidebar a:hover {
background-color: rgba(255, 255, 255, 0.1);
color: black !important;
}
#sidebar a:hover, #sidebar a.active {
text-decoration: none;
background: #f5f5f5;
color: black;
}
#sidebar a.active {
background: #f5f5f5;
}
<div id="main-container">
<div id="sidebar">
<a href="n">+ Add Sale</a>
<a class="active" href="#">Home</a>
<a href="s">My Sales</a>
<a href="a">Account</a>
<a href="l">Log Out</a>
<br>
<center>
<img width="80%" height="10%" src="img/t-vector-logo.png"/>
</center>
</div>
I'm looking to relocate the image to the bottom of the sidebar. I've tried various methods but nothing seems to work. Any suggestions?