I'm building a dashboard that has two sections. The first is a collection of dials that are centred in the page, and the second is an information and control section that shows the Users ID and lets them navigate the web app.
I would like to have the information and control section positioned to the left of the dials, but I'm not sure how to do that without pushing the dial section off centre. Is there a built in way of doing this in CSS?
This is what I would like the two sections to look like:
Below is a code snippet which is similar to what I have currently:
.both_sections {
display: flex;
flex-direction: row;
justify-content: center;
}
.dashboard_section {
background-color: rgb(226, 245, 240);
min-width: 300px;
height: 250px;
border: 2px solid black;
border-radius: 10px;
}
.information_section {
background-color: rgb(226, 245, 240);
min-width: 100px;
height: 120px;
border: 2px solid black;
border-radius: 10px;
margin-left: 10px;
}
<div class="both_sections">
<div class="dashboard_section"></div>
<div class="information_section"></div>
</div>
How can I change the snippet so that it looks like the image above?
