Div Test
/* Styling for the parent div (div1) */ .div1 { background-color: #CCC; width: 100%; display: flex; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; } /* Styling for the inner divs (div2 to div5) */ .div1 .inner-div { background-color: #913D88; border-radius: 10px; margin: 15px; padding: 20px; text-align: center; color: white; font-family: Arial, sans-serif; font-size: 24px; min-width: 150px; /* You can adjust the width as needed */ } /* Responsive behavior for small screens */ @media (max-width: 768px) { .div1 { flex-wrap: wrap; } }