use background image css styling for cards rather than img elements