Skip to content

Instantly share code, notes, and snippets.

@SakshamInABox
Last active May 8, 2019 09:58
Show Gist options
  • Save SakshamInABox/b981cc5246808c97e5b8d4d3b63abc52 to your computer and use it in GitHub Desktop.
Save SakshamInABox/b981cc5246808c97e5b8d4d3b63abc52 to your computer and use it in GitHub Desktop.
//CSS Lines
.d-icon {
content: url("../../../assets/icons/dlogo.jpg");
position: absolute;
text-align: center;
bottom: 2px;
left: 0.6vh;
height: 90px;
width: 88px;
}
//HTML Lines
<a routerLink="#" class="sidebar-item"><img class="d-icon"></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment