Seems like you kept the class in field manually, so the field is not working. Please use the contact form 7 field tag generator. From there assign the class as required and it should work fine.
Actually the class should come before the placeholder text. For example: