This is a solution to the 3-column preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.
To see how you can add code snippets, see below:
<div class="container-child">
<div class="cc-information">
<div><img src="images/icon-sedans.svg" alt="Sedans" /></div>
<h1>SEDANS</h1>
<p>
Choose a sedan for its affordability and excellent fuel economy. Ideal for cruising in the city
or on your next road trip.
</p>
</div>
<a href="#" class="learn-more sedan">Learn More</a>
</div>p{
width: 16vw;
color: hsla(0, 0%, 100%, 0.75);
font-weight: 300;
font-size: 15px;
line-height: 1.7 ;
letter-spacing: 0.6px;
font-family: 'Lexend Deca', sans-serif;
}