adding css to data