Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Centering using Flexbox

.vertical-container {
  height: 300px;
  display: -webkit-flex;
  display:         flex;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: center;
          justify-content: center;
}
Source by learnlayout.com #
 
PREVIOUS NEXT
Tagged: #Centering #Flexbox
ADD COMMENT
Topic
Name
8+6 =