I have a parent and it has icons with text that I distributed using display: flex, but now the problem is. How do I make a block with icons in the center of the parent? I tried different ways that I found on the Internet, but they don't work as I understand because of display: flex
.icons {
margin: auto 250px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
<div class="service">
<div class="icons">
<img src="#">
<img src="#">
<img src="#">
</div>
</div>