5 properties to keep in mind while working with images. Transform: scaleX(-1) / scaleY (-1) to flip your image horizontally and vertically. Object-fit : cover - allows the image to fill the entire dimensions while maintaining its aspect ratio. Filter: drop-shadow - used to add shadows to images with no background.

1m read timeFrom dev.to
Post cover image

Sort: