Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css scroll height if screen too small

.max_height_screen_then_scroll{    
    overflow-y: auto; 
  	height:auto;
    max-height:height: calc(100vh - 20px);
}
 
PREVIOUS NEXT
Tagged: #css #scroll #height #screen #small
ADD COMMENT
Topic
Name
5+2 =