<div class="container">
<section>
<div class="card">
<div class="flex">
<h2>Find out how much</h2>
<img
src="https://static.rdc.moveaws.com/images/finance/spot-badge-cash-reward.svg"
width="48"
height="48"
alt=""
/>
</div>
<div class="content">
We'll help you estimate your budget range. Save to your
buyer profile to help in your search.
</div>
<div class="action">try it out</div>
</div>
<div class="card">
<div class="flex">
<h2>Understand your monthly costs</h2>
<img
src="https://static.rdc.moveaws.com/images/finance/spot-badge-cash-reward.svg"
width="48"
height="48"
alt=""
/>
</div>
<div class="content">
Get an in-depth look at what your monthly and closing
costs will look like based on your financial situation and
goals. Get an in-depth look at what your monthly and
closing costs will look like based on your financial
situation and goals.
</div>
<div class="action">try it out</div>
</div>
<div class="card">
<div class="flex">
<h2>
Get help with your down payment Get help with your down
payment
</h2>
<img
src="https://static.rdc.moveaws.com/images/finance/spot-badge-cash-reward.svg"
width="48"
height="48"
alt=""
/>
</div>
<div class="content">
You may be able to buy a home with just 3.5% down. Saving
for that can be challenging–down payment assistance
programs can help. You may be able to buy a home with just
3.5% down. Saving for that can be challenging–down payment
assistance programs can help.
</div>
<div class="action">try it out</div>
</div>
<div class="card">
<div class="flex">
<h2>Understand your monthly costs</h2>
<img
src="https://static.rdc.moveaws.com/images/finance/spot-badge-cash-reward.svg"
width="48"
height="48"
alt=""
/>
</div>
<div class="content">
Get an in-depth look at what your monthly and closing
costs will look like based on your financial situation and
goals. Get an in-depth look at what your monthly and
closing costs will look like based on your financial
situation and goals.
</div>
<div class="action">try it out</div>
</div>
</section>
</div>
section {
display: grid;
grid-template-columns: repeat(
auto-fit,
minmax(min(200px, 100%), 1fr)
);
gap: 1rem;
grid-template-rows: auto 1fr auto;
max-width: 1280px;
margin: 4rem auto 0;
}
.card {
display: grid;
border: 1px solid #cacaca;
border-radius: 6px;
padding: 16px;
grid-template-rows: subgrid;
grid-row: span 3;
gap: 5px;
}
.flex {
display: flex;
gap: 8px;
border-bottom: 1px solid #cacaca;
}
.flex h2 {
margin-bottom: 10px;
font-size: 18px;
}
img {
margin-left: auto;
}
.content {
font-size: 15px;
line-height: 22px;
margin-bottom: 1.5rem;
}
.action {
font-size: 18px;
font-weight: 700;
text-decoration: underline;
margin-top: 1rem;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 10px;
background-color: rgba(187, 184, 184, 0.9);
gap: 20px;
}
.container {
padding: 1rem;
margin-top: 1rem;
}
* {
box-sizing: border-box;
}
body,
html {
height: 100vh;
}
body {
font-family: system-ui, sans-serif;
margin: 0 auto;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.