I am looking to create a dynamic tile (div) that adjusts based on the number of users available, similar to how it works in Microsoft Teams meetings. For example, if there is only one user, the div should occupy the full screen. When there are two users, each div should take up 50% of the width. And when there are three users, the divs should occupy 25%, 25%, and 50% of the screen respectively. For four, five, and six users, the layout should be as shown here: [link to image] This pattern should continue for up to 12-16 tiles while remaining responsive. Any assistance with this would be greatly appreciated.