css image set to fill container code example Example: how to contain image size overflow: 'hidden', backgroundSize : 'contain',