Currently my .css code is:
.form-wrapper {
display: flex;
justify-content: space-between
}
.testingForm {
max-width: 320px;
}
.centerThis {
align-self: center;
}
And my .js code is:
<div className="form-wrapper">
<div className="testingForm">
<FormGroup
controlId="stuff"
bsSize="large"
>
<ControlLabel>Stuff</ControlLabel>
<FormControl
/>
</FormGroup>
</div>
<div className="centerThis">
<h1>Stuff here</h1>
</div>
</div>
How can I center the "centerThis" className and leave the "testingForm" className where it currently is? I can't seem to detach the "testingForm" and the "centerThis". I've tried align-content and various other methods to solve this issue with no luck.
Incase this helps, the html output from the inspector after running the development server shows:
<div class="form-wrapper"><div class="testingForm"><div class="form-group form-group-lg"><label for="accountID" class="control-label">Stuff</label><input id="ID" class="form-control" value=""></div></div><h1>AWS</h1></div>
AWS