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.
Note: Delete this note and update the table of contents based on what sections you keep.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- HTML5
- CSS3
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="column">
<div class="card-verydarkcyan">
<img src = "images/icon-luxury.svg" />
<h2>Luxury</h2>
<p>Cruise in the best car brands <br>without the bloated prices. <br>Enjoy the enhanced comfort <br>of a luxury
rental and arrive <br>in style.</p>
<div class="button">
<p>Learn More</p>
</div>
</div>
</div>
.container {
color: hsl(0, 0%, 95%);
width: auto;
max-width: 920px;
margin: 170px 250px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-column-gap: 0;
align-items: center;
}
- Hover animations
- Spacing and indentations
- Margin and Padding
- Display and Position styles
- Frontend Mentor - @aparajitdotbee
- GitHub - @aparajitdotbee