added css wildcard matching for elements