I am practicing a grid layout in react-bootstrap. But got stuck when I was trying to remove the padding of the container fluid. We can do that in regular bootstrap by overriding the container-fluid class and making the padding 0 as important.
.container-fluid {
padding: 0 !important;
}
I tried this way and it worked well but I don't want to use !important as I may have many container-fluid in my application later.
<Container fluid>
<Row noGutters>
<Col lg={6} md={6} xs={12}>
<div style={{ background: "red" }}>hello i am subrato</div>
</Col>
<Col lg={6} md={6} xs={12}>
<div style={{ background: "blue" }}>I new to react-bootstrap</div>
</Col>
</Row>
<Row noGutters>
<Col xs={12} md={8}>
<div style={{ background: "red" }}>hello i am subrato</div>
</Col>
<Col xs={12} md={4}>
<div style={{ background: "blue" }}>I new to react-bootstrap</div>
</Col>
</Row>
</Container>
See my output here
How can I specifically select that container in react-bootstrap?
