Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to make a flex container full page

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper > * {
  padding: 20px;
}

.page-main {
  flex-grow: 1;
}
Source by webdesign.tutsplus.com #
 
PREVIOUS NEXT
Tagged: #flex #container #full #page
ADD COMMENT
Topic
Name
5+8 =