Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
9
Comments
8
Mary Njoroge
@Maryahcee

All comments

  • Ukan•20
    @ukanlei
    Submitted over 3 years ago

    Card Component with HTML and CSS

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    To avoid repetition in CSS I use class with same name when there are several elements that need same styling design. Also breakdown sections if it's Navbar section check to see what elements have similar design and give them same class name.

    Finish designing one section at a time it makes the work easier and you won't have to keep repeating your self. Cheers! Keep coding!

  • Ukan•20
    @ukanlei
    Submitted over 3 years ago

    Card Component with HTML and CSS

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    Hi the card looks good. At first someone struggles with finding the best working flow. However I have some tips that have helped me become organized while working on my projects. First look and analyize the design and make a sketch of how I will approach the design. Second write down all sections (eg. Navbar, Main, footer.) in the design and what I will use (eg flex or grid) to make them. If you do this routine in your first projects you will notice that in the future you won't necessarily have to do it it comes naturally with more practice. I hope this helps. Happy coding!

  • Eduardo Pinheiro•20
    @EduMPinheiro
    Submitted over 3 years ago

    HTML CSS NFT preview card

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    To add a divider line before the avatar add a div with an <hr> element, then style it as follows: hr { width: 80%; color: white; }

  • Eduardo Pinheiro•20
    @EduMPinheiro
    Submitted over 3 years ago

    HTML CSS NFT preview card

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    Hi Nice work here! To put a circular border around the avatar image Add this border-color: white; border-radius: 50%; border-style: solid;

  • Emma•320
    @emjogale
    Submitted over 3 years ago

    Responsive page with flexbox layout

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    @emjogale nice to know you managed. Happy coding.

  • Emma•320
    @emjogale
    Submitted over 3 years ago

    Responsive page with flexbox layout

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    Hi, the background looks good to the eye , however you can add center/cover after no repeat. Nice work!

  • Rina•100
    @dodrin
    Submitted over 3 years ago

    NFT preview card component

    6
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    Nice work. .container { height: 200px; position: relative; border: 3px solid green; }

    .vertical-center { margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); } Try this for smaller screen. Make sure you give the container a position of relative first.

    Marked as helpful
  • ohm_yuvadee•100
    @theohm12
    Submitted over 3 years ago

    Building the card component using HTML, CSS

    2
    Mary Njoroge•150
    @Maryahcee
    Posted over 3 years ago

    Hi, nice work. You should also add the hover state it should look like the attached image under active-state.

Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub