I need to create a pyramid structure within a parent div utilizing 4 child divs. The first child should be centered, with the remaining children positioned below in a second row.
<style>
.parent {
width: 100%;
display: grid;
grid-template-columns: repeat: (3, 1fr)
}
</style>
<div class="parent">
<div class="child">1</div>
<div class="child">2</div>
<div class="child">3</div>
<div class="child">4</div>
</div>
The desired outcome is a pyramid layout as shown here: http://prntscr.com/orr41c