I'd like to hide the header (Buttons) of the Angular Material Tabs, because I'm using custom navigation buttons to switch between the tabs. https://material.angular.io/components/tabs/overview
However, it is not possible to hide the header using css. I don't know why. md-tab-groupis an angular directive, which is replaced with the tabs template. Despite it usually shout work this way...
HTML:
<div class="tabs">
<md-tab-group>
<md-tab label="Tab 1">Content 1</md-tab>
<md-tab label="Tab 2">Content 2</md-tab>
</md-tab-group>
</div>
CSS:
.tabs md-tab-header, .tabs .mat-tab-header {
display: none;
}
,comma in place ? - AravindLESS fileyou can use them. can you create a plunker to reproduce. Refer this answer if it helps you - Aravind