Skip to content

Instantly share code, notes, and snippets.

@SanthoshVijayabaskar
Last active February 20, 2019 19:38
Show Gist options
  • Save SanthoshVijayabaskar/4a480212c6d4f46133d1df1dc4f4a1aa to your computer and use it in GitHub Desktop.
Save SanthoshVijayabaskar/4a480212c6d4f46133d1df1dc4f4a1aa to your computer and use it in GitHub Desktop.
HelpLink
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,500" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v43/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
nav {
background: #e2d305;
height: 100%;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}
nav ul li a {
color: rgb(15, 15, 15);
padding: 20px;
display: block;
}
nav ul li .activated {
background-color: #f2f2f2;
}
<nav>
<ul>
<li>
<a routerLink="" routerLinkActive="activated" [routerLinkActiveOptions]="{exact:
true}">
<i class="material-icons">local_movies</i>
</a>
</li>
<li>
<a routerLink="my-tickets" routerLinkActive="activated" [routerLinkActiveOptions]="{exact:
true}">
<i class="material-icons">receipt</i>
</a>
</li>
<li>
<a routerLink="about" routerLinkActive="activated" [routerLinkActiveOptions]="{exact:
true}">
<i class="material-icons">info</i>
</a>
</li>
</ul>
</nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment