DEV Community

Utsav Mavani
Utsav Mavani

Posted on

css image inside center class

span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

Top comments (0)