apah-dev / four-card-feature-section-master

Home Page:https://apah-dev.github.io/four-card-feature-section-master/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Four card feature section solution

This is a solution to the Four card feature section challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

Learn how to properly use the align-self property and how to use it for self-aligning contents withing a flexbox div.

To see how you can add code snippets, see below:

.middle-set {
  justify-content: center;
  align-items: center;
}

.tools {
  width: 80%;
}

.tools:nth-of-type(1) {
  align-self: flex-center;
}

.tools:nth-of-type(4) {
  align-self: center;
}

Useful resources

  • HTML & CSS Udemy Course - This helped with properly understanding the align-self property and how to use it for self-aligning contents withing a flexbox div.

Author

Acknowledgments

Thanks to Colt for the udemy course https://www.udemy.com/course/the-web-developer-bootcamp/learn/lecture/22380972#notes

About

https://apah-dev.github.io/four-card-feature-section-master/


Languages

Language:HTML 56.9%Language:CSS 43.1%