https://i.sstatic.net/E1uQP.png
Hi there! I'm currently working on replicating the image above using CSS grid and I've almost got it, but I'm facing an issue with the main content section that includes "Your Projects," "Announcements," and "Trending." My goal is to have "Your Projects" take up a large portion of the grid, with "Announcements" and "Trending" positioned to the right of it. I've been trying to adjust the row sizes for each section so that "Your Projects" and "Announcements" expand while "Trending" remains a small box next to "Announcements," but I can't seem to get it just right. How can I make this work effectively?
html
<div class="main-content-grid-container">
<div class="projects-container main-content-grid">
<h1>projects</h1>
</div>
<div class="announcements-container main-content-grid">
<h1>announcements</h1>
</div>
<div class="trending-container main-content-grid">
<h1>trending</h1>
</div>
</div>
css
.main-content-container{
background-color: #fafafa;
}
.main-content-grid-container{
display: grid;
grid-template-columns: 3fr 2fr;
grid-template-rows: 10fr 1fr;
}
.projects-container{
}
.announcements-container{
}
.trending-container{
grid-area: 2/3/2/2;
}
.main-content-grid{
border: 2px black solid;
background-color: goldenrod;
}