我唯一想要的是重寫md-checkbox底部寬度和高度。 我不想永遠做它爲所有的網站,只是在那裏我加入md-checkbox
Angular2材質:將自定義樣式添加到md-checkbox
所以一個組成部分,這裏是我的組件
@Component({
selector: 'my-component',
moduleId: module.id,
templateUrl: 'share/grid/my-component.html'
})
export class MyComponent {}
而我,component.html
<md-checkbox></md-checkbox>
所以顯然我必須訪問子組件樣式,我該怎麼做?謝謝。
請問我的回答工作爲你的使用情況? –