Last active
January 8, 2017 21:02
-
-
Save pietmichal/37fac97bab15229e54e01dab17036960 to your computer and use it in GitHub Desktop.
Medium tutorial part4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| span { | |
| float: left; | |
| padding: 5px; | |
| background-color: #D0CCD0; | |
| border-radius: 5px 5px 0 0; | |
| color: #828181; | |
| font-size: 14px; | |
| cursor: pointer; | |
| } | |
| .selected { | |
| background-color: #FBFCFF; | |
| color: #333; | |
| } | |
| div { | |
| clear: both; | |
| padding: 10px; | |
| background: #FBFCFF; | |
| min-height: 100px; | |
| border-radius: 0 5px 5px 5px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <span *ngFor="let tab of tabList"> | |
| {{tab.name}} | |
| </span> | |
| <div> | |
| <template [ngTemplateOutlet]="currentTab.templateRef"></template> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment