Specify the previous element using class.