Yes, it can be achieved by using a semicolon. Post navigation Differentiate Class selector from ID selector? What is Pseudo-elements ?