I am trying to center the boxes using flex but they are aligning at the centre top and not in the middle of the page.
I am not able to get what the problem is, kindly help me out.
`
.summary{
height: 100%;
}
.box__container{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
}
.boxes{
background-color: aqua;
width: 200px;
height: 100px;
/* margin: 0px 10px 0px 10px; */
}
`
`
import React from 'react'
import './Summary.css'
function Summary() {
return (
<div className='summary'>
<div className='box__container'>
<div className='boxes'>
summary
</div>
<div className='boxes'>
summary
</div>
</div>
</div>
)
}
export default Summary
`