Div functions in css file