Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center a div

.parent {
	display : flex;
    justify-content : center;
    align-items : center;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #center #div
ADD COMMENT
Topic
Name
9+8 =