Answers for "how to place a element in centre of a div"

CSS
3

how to center a div

.MyDiv{
  	display: block;
  	margin-left: auto;
	margin-right: auto;
}
Posted by: Guest on August-31-2021

Code answers related to "how to place a element in centre of a div"

Browse Popular Code Answers by Language