CSS: Выравнивание содержимого блоков по вертикали
Чтобы получилось нечто подобное:
<div class="tile2">
<div class="icons_left"><img height="32px" src="/images/list.png"></div>
<div class="icons_right" ><img height="32px" src="/images/heart.png"></div>
</div>
CSS:
.tile2{
grid-template-columns: 50% 50%;
display: flex;
height: 100%;
}
.tile2>.icons_left {
color: #003264;
font-weight: bold;
font-size: xx-large;
text-align: end;
margin: auto;
cursor: pointer;
}
.tile2>.icons_right {
color: #003264;
font-weight: bold;
font-size: xx-large;
text-align: left;
margin: auto;
cursor: pointer;
}
