Mimic JavaScript extrabody for CSS