I would use javascript or jquery to achieve this.
My approach would be:
- get the offsetTop of the element using :first-of-type selector.
- use the each method of jquery to run through all elements and compare if offsetTop of $(this) is different of the offsetTop value you got on step1.
- gotcha
Provide some code if you need help developing it.