A simple trick to make a <div> element responsive is to set the max-width of the div in pixels (px) and set width as 100%.
max-width :960px;
width: 100%;
The CSS above will automatically change the div element’s width based on the size of the screen it is being viewed in.