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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e94f31-151f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e94f31-151f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?