Skip to content

Instantly share code, notes, and snippets.

@wKoza
Created October 12, 2016 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wKoza/e32bb43124a788bff413d687d7a38d35 to your computer and use it in GitHub Desktop.
Save wKoza/e32bb43124a788bff413d687d7a38d35 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
@Component({
selector: 'app-cadre',
template: `
<div class="bordure">
<h1>
<ng-content></ng-content>
</h1>
</div>
`,
styles: [`
h1 {
color : darkmagenta;
}
.bordure {
border: 1px solid darkmagenta;
}
`]
})
export class CadreComponent {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment