Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

3-column preview card component solution

groudse 25

@groudse

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I still have a lot of problems like the button not align. But i want to know how to manage the broder radius in the mobile view

Community feedback

Coureur12 240

@coureur12

Posted

You should learn about the BEM methodologie to name your classes. here is a link to learn more about it : http://getbem.com/introduction/

😉

0

groudse 25

@groudse

Posted

@coureur12 Ok thanks for this it would be better

0
P

@MarkoNikolajevic

Posted

Hi groudse

To manage the border radius on mobile you can add this code inside you @media part

.first {
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-left-radius: 0;
}

.third {
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
border-top-right-radius: 0;
}

You could use a shorthand property for the border radius border-radius: top-left-value top-right-value bottom-right-value bottom-left-value

As you said you still have to finish the mobile version of the challenge

Keep on coding and have fun! :)

0

groudse 25

@groudse

Posted

@MarkoNikolajevic Thanks for this ^^

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord