In order to change the position of an image in CSS, you can use the position property. This property takes one of four values:
static: The element will remain in its current position. This is the default value.
absolute: The element will be positioned according to the top, right, bottom, and left properties.
fixed: The element will be positioned according to the top, right, bottom, and left properties, and will not scroll with the rest of the page.
relative: The element will be positioned according to the top, right, bottom, and left properties, but will still scroll with the rest of the page.
For example, if you wanted to move an image 10px to the right and 20px down from its current position, you would use the following CSS:
img {
position: relative;
top: 20px;
right: 10px;
}