Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
9
Comments
3
Ekure Edem
@astraldev

All comments

  • Priyesh Basumatary•10
    @PriyeshB2000
    Submitted almost 3 years ago

    Responsive- NFT Preview Card Component

    1
    Ekure Edem•260
    @astraldev
    Posted almost 3 years ago

    It seems you forgot to center the card vertically.

    Also, the size (width) of the card is kinda static and doesn't change on different screens.

    Also, the ntf image is supposed to be rounded... The best way to do it is to use a div as a container, set the border radius and set overflow to hidden.

    e.g

    HTML

    ...
    <div class="container">
      <img src="..." alt="..." />
    </div>
    ...
    

    CSS

    .container {
      /*Other styles*/
      border: 0 solid transparent;
      border radius: 1.5rem;
      overflow: hidden;
    }
    
  • pedro lozano•90
    @Pericles07
    Submitted almost 3 years ago

    Tarjeta-equilibrium

    #sass/scss
    1
    Ekure Edem•260
    @astraldev
    Posted almost 3 years ago

    You could have centered the Card..

    I just checked your code

    .container {
      margin: 2rem;
      display: flex;
      justify-content: center;
      height: 37rem;
    }
    

    It turns out that, you could have added the align-items property to center the card on the vertical axis

    It could have been

    .container {
      margin: 2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 37rem;
    }
    
    Marked as helpful
  • Ashar Mahmood•40
    @ashardeveloper
    Submitted almost 3 years ago

    Expenses chart component using Flexbox, reCharts of reactjs

    #react
    1
    Ekure Edem•260
    @astraldev
    Posted almost 3 years ago

    Honestly, I think it would have been better if you used plain CSS for that by setting the height of the barto be the price in percentage tho as in my own solution at least, you'll have more control over the bars....

    Then if the price is greater than 50, change the colour....

    You can check out my solution here

    https://www.frontendmentor.io/solutions/expenses-chart-component-with-vuejs-4fUiJTIs_P

    Marked as helpful
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