I have a table at the moment and I want to change the column headers of the tables to a different color.
link to table
<Table className="ant-table-thead">
...
</Table>
<Table className="ant-table-content">
...
</Table>
.ant-table-content {
background-color: rgb(127, 127, 127);
color: rgb(127, 127, 127);
}
I would love some help styling this particular Table component, but if you could also give me a general guideline (or somewhere I could find all of the possible className) of how to style other components in ant.design, it would be much appreciated.
so I found out that the general idea was right. For each html component like the Table, it's common practice to define a className. Because I'm using Ant-Design, I have to have specific classNames. These classNames can be found in the node_modules folder in client, inside antd/es and whatever specific component in use. Then, the index.css file lists out all of the classNames and the specific attributes that are editable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With