Skip to content

Instantly share code, notes, and snippets.

@afirdousi
Last active June 26, 2017 21:07
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 afirdousi/358346090b89c9c2acd76f221c93e902 to your computer and use it in GitHub Desktop.
Save afirdousi/358346090b89c9c2acd76f221c93e902 to your computer and use it in GitHub Desktop.
@Component({
selector: 'my-custom-input',
templateUrl: 'src/my-custom-input.component.html',
styles:[`
div {
border-bottom:1px solid red;
display:inline-block;
}
input {
border:none;
border-bottom:1px solid red;
outline:none;
color:red;
}
`]
})
export class MyCustomInput {
@Input() label;
constructor() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment