Blogger Ever

How to highlight the first cell of table as heading in HTML using CSS3?

Neither HTML table have any default property of highlighting first cells of each column nor CSS. For this we use :first-child, it is a pseudo selector of CSS3.

Neither HTML table have any default property of highlighting first cells of each column nor CSS. For this we use :first-child, it is a pseudo selector of CSS3. We will use it like this one:
table tr:first-child td{
  color:#00bfff;

DEMO 

See the Pen sJvfk by Mohammad Hamza Dhamiya (@hamzadhamiya) on CodePen.
Blogger

2013-2016 Copyright Blogger E\ver . Coded, managed and founded by Mohammad Hamza (@hamzadhamiya) . Hosted on Blogger and fonts used are Raleway and Open Sans.