Responsive width with min-height and overflow

时间:2016-08-31 18:47:40

标签: html css

Ok, I can't seem to figure out how to do this for the life of me...

I have a layout that is 100% responsive. But I am comparing some products side by side on a specific page. So I have the content responsive but can only get so small. So I want my center container to be able to fit normally which it does but set a min-width of 767px. Once it hits this size the rest of the layout should still stay responsive and shrink with the browser but the content should stay at 767px and its container should have a scroll bar. All the rest of the site needs to stay with size of browser but just this container should have a slidebar and not shrink smaller than 767px. Does anyone have any idea how this could be done??

1 个答案:

答案 0 :(得分:0)

尝试使用css媒体查询来执行与您需要的相同的响应选项。