Answers for "how to center a child element on a moving screen scc"

CSS
2

align div to center of screen

div.the-center-div {
	margin: 0 auto;
}
Posted by: Guest on September-28-2020
0

css position element in the middle of a header

P.blocktext {
    margin-left: auto;
    margin-right: auto;
    width: 200px;/*usually works best with a fixed width*/
}
Posted by: Guest on December-20-2020

Code answers related to "how to center a child element on a moving screen scc"

Browse Popular Code Answers by Language