I'm creating a basic form, and I'm finding it impossible to override any bootstrap elements without using !important. For example, a basic form with a first name input, using a custom class "custom-input"
.js
<Form>
<Row>
<Col>
<Form.Group>
<Form.Control
type="name"
placeholder="First Name"
className="custom-input"
/>
</Form.Group>
</Col>
</Row>
</Form>
.css
.custom-input{
border: 0
}
This does not remove the border unless I add !important
to it. Why does it require !important?