Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

How to center a div

.YourDivsClass {
	display: flex;
    justify-content: center;
    align-items: center;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #center #div
ADD COMMENT
Topic
Name
2+1 =