add a css class, contain useful css functions.