Variables work in ::before/::after pseudos
div1
div2
div3