Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

html center div in middle of page

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #html #center #div #middle #page
ADD COMMENT
Topic
Name
7+8 =