Problem with Landing Page

after using the media query, I want the cards in the features section to be arranged in the middle but its still not working. i tried, align-items, justify-contents and so on. but no effect. I need some help.

can’t you center it in css

Hi Desmond! To align the block in the center, use margin: 0 auto

This worked for me when I put it into your code:

  .card-one, .card-two, .card-three{
  border: .3px black solid;
  width: 70%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 0px 5px 0px;
  }
1 Like

What you want is

align-items: center;

thanks willjw3 it worked

2 Likes

thank you all I fixed it