<div ref:foo/> <style> ref:foo { color: red; } </style>