adding css elements bit by bit