Stylish CSS Table Design #2

In this tutorial, we are using the simple CSS and HTML for designing the stylish table. Take a look at following table design.
Stylish Table in CSS #2

HTML Code :

Consider the following code –

We have just created the simple table which is basic HTML version of the table. Now its time to add some CSS to style the table.

CSS Code :

After adding the above code the table will exactly look like the below demo –

Explanation of the above code :

Consider the following code –

We have used different background color for the two different rows.