move ref to css