Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css vertical align items in div

.flex-center-vertically {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 400px;
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #css #vertical #align #items #div
ADD COMMENT
Topic
Name
5+3 =