<div class='foo'></div> <style> .foo { color: red; } .bar { color: blue; } </style>