How do I align these items in the middle of the boxes? I tried everything vertical align middle, justify content, flex center, text align
Trying to avoid using div from answer suggestion below, unless required, is there another way?
.material-icons
{
align-items: center;
justify-content: center;
text-align:center;
vertical-align: middle;
border-color:black;
border-width:1px;
border-style:solid;
}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<div class="grid-container" id="gridid1556351f5ece4ee3a7dce6962be48e39" style=" display: grid;
grid-template-columns: repeat(1, 250px);
grid-template-rows: repeat(2, 250px);
grid-gap: 1px;
padding: 0px;
align-items: stretch;
position: relative; ">
<i class="material-icons" style="font-size:48px;">notifications</i>
<i class="material-icons" style="font-size:48px;">delete</i>