I am a beginner with Bootstrap and responsive layouts and have encountered a small obstacle in developing a responsive layout using Bootstrap. In the site layout, content was created to be displayed with at most 1170px and at least 940px in width, and should be fluid in that range. In Bootstrap the grid adapts to 724px and 1170px depending on viewport , and that's where I do not understand. Is it possible to determine with viewport that the layout will only be responsive between 940 and 1170 pixels, and in less than 940px it behaves as unresponsive and in more than 1170 it centralize the content? >
My structure looks like this:
...
<meta name="viewport" content="initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="screen">
<link type="text/css" href="css/bootstrap-responsive.min.css" rel="stylesheet">
...
No styles.css:
/* Desktop maiores */
@media (min-width: 1171px) {
.container-fluid {
max-width: 1170px;
margin: 0 auto;
}
}
Is the problem in viewport ? And how would that be correct?