.exportName { color: green; } .exportName:hover { color: red; } @media screen { body { background: red; } } :local(.testLocal) { color: blue; }