Answers for "how to position a div on another div at center of screen"

CSS
1

center a div on screen

.class{
position: realtive;
text-align: center;
top: 50%;
transform:translateY(-50%);
}
Posted by: Guest on January-16-2021

Code answers related to "how to position a div on another div at center of screen"

Browse Popular Code Answers by Language