Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reactjs make main div scrollable

scroll // main div
{
    max-height: 400px;
    overflow-y: scroll;
}

// add bg to body
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reactjs #main #div #scrollable
ADD COMMENT
Topic
Name
4+5 =