Create functions for pseudo classes and structural pseudo classes