how to make the iabsolute in center code example
Example: center image with position absolute
.wrapper img {
left: 50%;
transform: translate(-50%,0);
position: absolute;
z-index: 1
}
.wrapper img {
left: 50%;
transform: translate(-50%,0);
position: absolute;
z-index: 1
}