Kevin Wilde
Kevin Wilde

Reputation: 101

How to change Angular Mat table head row Background color, font etc

I have been attempting to make an Angular Mat table and I have it working, but I cannot figure out how to customize the header row. I need to change the background color and text color. I cannot figure out how to do it. Any help? Thanks!

Upvotes: 2

Views: 4072

Answers (1)

BatshevaRich
BatshevaRich

Reputation: 568

In your css file,

th.mat-header-cell {
  color: red;
  background-color: black;
}

Upvotes: 2

Related Questions