Resize this webpage to see the difference, the responsiveness.
Note: By default, Bootstrap automatically includes the viewport meta tag. This tag is crucial for responsive design on mobile devices, ensuring proper rendering and zooming. It essentially tells the browser how to scale the page to fit the device's screen. But, it is always good mesure to double check this. Otherwse, you will be a lot of headache.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
fluid={true}
<Container fluid={true} style={{backgroundColor: "lightgreen"}}>
<Row><Col>`fluid={true}`</Col></Row>
</Container>
<Container fluid="md" style={{backgroundColor: "lightblue"}}>
<Row><Col>Full width until fluid="md"(≥768px). No full width if screen width is higher than 768px.</Col></Row>
</Container>
Column classes indicate the number of columns you’d like to use out of the possible 12 per row.
So, if you want three equal-width columns across, you can use .col-4.
Cell 2 of 3 will expand accordingly.
Allocate number of columns according to screen size(<Col xs={1} sm={2} md={3} lg={4} xl={5}>
).
If screen size ≥768px, span 3 columns.
<Container>
<Row>
<Col className="border">1 of 3</Col>
<Col className="border" xs={1} sm={2} md={3} lg={4} xl={5}>**2 of 3**</Col>
<Col className="border">3 of 3</Col>
</Row>
</Container>