Answers for "how to place content in middle of row horizontal css"

7

center text in div container

text-align: center
Posted by: Guest on June-01-2020
-1

how to align a component in the middle of page

div {
	width: 100px;
	height: 100px;
	background-color: red;
	
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
  	
	margin: auto;
}
Posted by: Guest on May-06-2020

Code answers related to "how to place content in middle of row horizontal css"

Browse Popular Code Answers by Language