converting test to a css block as much as possible