adds style for functions from css