The :nth-of-type selector allows you select one or more elements based on their source order, according to a formula.
It is defined as a “structural pseudo-class”.
🔔 Subscribe for more videos like this : https://www.youtube.com/c/CodeCanvas?sub_confirmation=1
#css #csstricks #css3