Answers for "css class for content alaign center"

6

centering css elements

// add to the parent element
.parent {
	display: grid;
    place-items: center;
}
Posted by: Guest on August-06-2020
1

align centre

.headerTwoDiv{
			margin:1% auto;
			margin-right: auto; margin-left: auto; width: 21%; 
			padding-top: 11px;
		}
Posted by: Guest on September-07-2020

Browse Popular Code Answers by Language