I am facing a styling challenge with these buttons contained within a specific div. The CSS for this div is as follows:
div {
font-size: 5vw;
font-family: Calibri, Helvetica, sans-serif;
}
div.IFlexible {
display:flex;
}
div.yesno {
position: absolute;
bottom: 4vw;
}
div > button{
font-size: 5vw;
flex-grow: 1;
}
<div class="yesno IFlexible">
<button id="addNewOK" class="confirmBut">Confirm</button>
<button id="addNewCancel" class="confirmBut">Cancel</button>
</div>
There are no other elements affecting these buttons directly.
The goal is to position these buttons at the bottom of the screen, evenly distributed and taking up all available space. How can I achieve this?