Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to make a div fill the screen

.section{
  position: absolute /*relative and fixed elements also works*/;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #div #fill #screen
ADD COMMENT
Topic
Name
2+3 =