nth-child is used to choose a child or a range of children of a given element.
nth-child will pick the first few children.
In the following example, the first three items will be underlined. The range of second to fifth items have the blue color.
In a similar way, nagative
nth-last-child will pick the last few children.
/* Add a decorative line to the last two items */