To set the hover for a :before or :after CSS Pseudo-class use:-