I am trying to get elements horizontally aligned in the center of a column, using a flexbox. It all works fine in Chrome but the items with position: absolute do not center in IE11. Thanks!
#container {
display: flex;
align-items: center;
flex-direction: column;
}
.not_centered{
position: absolute;
flex: 1;
}
<div id="container">
<div class="not_centered">
text
</div>
<div class="not_centered">
text 2
</div>
<br>
<div class="centered">
centered
</div>
</div>