Question: How can you select the first and the last `TD` in a row?

```
tr > td[0],
tr > td[-1] {
/* styles */
}

```

Answer: 
If you use sass(scss) you can use the following snippet:

```
tr > td{
   /* styles for all td*/
   &:first-child{
     /* styles for first */ 
   }
   &:last-child{
    /* styles for last*/
   }
 }

```
You can use

table tr td:first-child { css here
}
**for First Child and**

table tr td:last-child { css here
}
**for last Child**.