use attr instead of css on svg