Answers for "css cetner element"

CSS
7

center a div css

.center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
Posted by: Guest on March-31-2021
3

how to center a div

margin:auto
Posted by: Guest on August-13-2020

Browse Popular Code Answers by Language