I\'m trying to display only the top half of an image and the bottom half of the same image in 2 separate divs.
I\'ve tried with the CSS property clip, but i
clip
You could have the div as position: relative; and overflow: hidden; Have the image inside as position: absolute;
position: relative;
overflow: hidden;
position: absolute;
And control how the image is displayed but setting a height to the div and adjust the top and bottom properties of the image