Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center with flex

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #center #flex
ADD COMMENT
Topic
Name
6+2 =