How does element add background color to table's thead?

as shown in the figure, the simplest type, how to add background color to the header, write a lot of css are invalid ah, why?

      <el-table border :data="tableData" style="width: 100%">

       <el-table-column prop="type" label="" width="470"></el-table-column>

       <el-table-column prop="num" label="" width="470"></el-table-column>

      </el-table>

clipboard.png


I suggest you get to the bottom of it and use CSS:

directly.
.some-table thead
  td,
  th
    background-color red
Menu