I'm trying to use flex to align buttons on the same line : the button "Back" should be at the left and the button "Continue" at the right (end of the line).
.footer {
display: flex;
}
.back {
align-content: flex-start;
}
.continue {
align-content: flex-end;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"></script>
<div className={"footer"}>
<Button className={"back"}> Back </Button>
<Button className={"continue"} >Continue</Button>
</div>
But this is not working, what I am missing ?