how to enlarge images in css code example Example: how to enlarge image when hover on in css img:hover { transform: scale(1.3); }