apply css styling