Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

four cards feature section solution html&css

@FEZWA23

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Rafig 70

@refikmemmedov

Posted

You were able to keep the code shorter by just using border-top. HTML

<div class="card border-blue">
            <h2>Calculator</h2>
            <p>Uses data from past projects to provide better delivery estimates</p>
            <img src="images/icon-calculator.svg" alt="">
</div>

CSS

.card{
    box-shadow: 0px 15px 17px 0px rgba(0,0,0,0.59);
    padding: 2rem;
    border-top: 4px solid;
    border-radius: 0.5rem;
}
.border-blue{
    border-color: var(--clr-primary-blue);
}

Like this

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord