Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
16
Comments
4
R Hayes
@ryanthayes

All comments

  • R Hayes•240
    @ryanthayes
    Submitted about 2 years ago

    NFT Card Component with flex and ::before/::after overlay

    2
    R Hayes•240
    @ryanthayes
    Posted about 2 years ago

    That gave me an idea to try. I had been trying to change the main element NOT the pseudo element. I was able to fix by adding vertical-align to the pseudo element:

    .time::before { content: url(images/icon-clock.svg); padding-right: .5em; vertical-align: middle; }

  • h415232•110
    @h415232
    Submitted over 2 years ago

    Solution for 3 Column Prev Card (Not yet responsive)

    1
    R Hayes•240
    @ryanthayes
    Posted about 2 years ago

    Try adding overflow: hidden; to your .card element.

    .card { width: 50rem; height: 28rem; display: flex; border-radius: 1rem; overflow: hidden; }

    Marked as helpful
  • Mário Vergara•160
    @mvergara94
    Submitted over 2 years ago

    Huddle Landing page using CSS & HTML only

    1
    R Hayes•240
    @ryanthayes
    Posted over 2 years ago

    For changing the icons try this:

    .footer__item { color: var(--secondary-color); border: 1px solid var(--secondary-color); }

    Also, your icons are not all perfect circles. I struggled with that at first, too. I used this solution to get mine looking right: https://bostonianadam.com/2019/09/how-to-add-circle-border-around-font-awesome-icon/.

    Marked as helpful
  • R Hayes•240
    @ryanthayes
    Submitted over 2 years ago

    My Solution for the QR Component Challenge

    5
    R Hayes•240
    @ryanthayes
    Posted over 2 years ago

    Thank you @0xAbdul I updated my HTML so that my generic div container is now semantically correct as <main>. I was also able to center the main content properly using flex box by adding your CSS suggestions below to .container:

    margin:0; height:100vh;

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