Html – trying to have a responsive design for the items using media query and flexbox , but it is not working
.container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; flex-direction: column; } .item { margin: 10px; border: 1px solid lightgray; border-radius: 10px; overflow: hidden; width: 100%; } @media screen and (min-width:700px) { .item { width: 50%; } .container {…