Answers for "center absolite posiisitioned intem"

CSS
0

center postion absdolute

position: absolute;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -50%);
Posted by: Guest on April-24-2021

Browse Popular Code Answers by Language