how to cover page with less than half image css code example Example: how to contain image size overflow: 'hidden', backgroundSize : 'contain',