Skip to content

Latest commit

 

History

History
102 lines (77 loc) · 2.99 KB

README.md

File metadata and controls

102 lines (77 loc) · 2.99 KB

Frontend Mentor - 3-column preview card component solution

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.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size
  • See hover states for interactive elements

Screenshot


Mobile Preview


Mobile Preview


Desktop Preview

Desktop Preview

Links

My process

Built with

  • HTML5
  • CSS3

What I learned

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;
}

Continued development

  • Hover animations
  • Spacing and indentations
  • Margin and Padding
  • Display and Position styles

Useful resources

Author