adds loading to css