Draw images defined with CSS like properties