removes periods for css as well