Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
25
Comments
5

Davide

@deedeedevItaly330 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

Latest solutions

  • Notifications Page using Next.js and Tailwind

    #next#tailwind-css

    Davide•330
    Submitted over 1 year ago

    0 comments
  • Newsletter Signup With Success Message using Next.js and Tailwind

    #next#tailwind-css

    Davide•330
    Submitted over 1 year ago

    0 comments
  • News Homepage using Next.js and Tailwind

    #next#tailwind-css

    Davide•330
    Submitted over 1 year ago

    0 comments
  • Age Calculator App using Next.js and Tailwind

    #next#tailwind-css

    Davide•330
    Submitted over 1 year ago

    0 comments
  • Huddle Landing Page using Next.js and Tailwind

    #next#tailwind-css

    Davide•330
    Submitted over 1 year ago

    0 comments
  • Ping Single Column Coming Soon Page using Next.js and Tailwind

    #next#tailwind-css

    Davide•330
    Submitted over 1 year ago

    0 comments
View more solutions

Latest comments

  • hgcfkuyfliyfl•150
    @hgcfkuyfliyfl
    Submitted over 1 year ago

    Social-links-profile Public

    #accessibility
    2
    Davide•330
    @deedeedev
    Posted over 1 year ago

    Hi @hgcfkuyfliyfl , nice job! If you want to position the card at the center without setting a fixed height you can put it inside a div container and center it with flex, like this:

    .container: {
      width: 100%;
      min-height: 100dvh;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .card {
      min-width: 350px;
    }
    

    Using min-width, max-width, min-height and max-height instead of fixed values makes your design more flexible and responsive. In most cases I try to avoid using percent values when setting width/height, you easily get weird outcomes on very large or very small screens. A better approach in my opinion is using media queries and adapt your max-width and min-width according to the screen size. You might also want to look into container queries: using them you can write media-queries that are based on the container size instead of the screen size.

    Hope this can be helpful!

  • Rahul•50
    @rahul11636
    Submitted over 1 year ago

    Blog preview card . it is not responsive

    1
    Davide•330
    @deedeedev
    Posted over 1 year ago

    Hi @rahul11636 , nice job. To improve the responsiveness of the card you might want to avoid setting a percent width on your container div and use a fixed width or a maximum width in px or rem. So instead of doing:

    .mini-container {
      width: 25vw;
    }
    

    you could try something like:

    .mini-container {
      max-width: 24rem;
      padding: 20px;
    }
    

    To fix the problem with the image you can remove the position: relative top and left rules and just apply width: 100%.

    The approach is this: use a container with a fixed width/max-width (that can change using media queries, depending on display size) then apply some padding on it and place your content inside. You might also want to look into flexbox, it really simplifies content aligning once you grasp how it works.

    Keep up the good work! 👍

    Marked as helpful
  • andye•20
    @bv-andrease
    Submitted over 1 year ago

    Social links profile using HTML, CSS

    2
    Davide•330
    @deedeedev
    Posted over 1 year ago

    Hi @bv-andrease , your project looks very nice, the only thing I would change is increasing the font size a little bit and adjust margins and padding accordingly. 10px is quite small and not very accessible. Default font size on almost all browsers is 16px.

    Other than that, awesome job! 👍

  • Moniruzzaman Monir•760
    @ad-monir2001
    Submitted over 1 year ago
    What are you most proud of, and what would you do differently next time?

    It was my first project on this site. And I have not used any max-width on this so it is not looking good , I have improved that now.

    What challenges did you encounter, and how did you overcome them?

    On responsiveness.

    What specific areas of your project would you like help with?

    You any kind of suggestion will be welcomed,

    Responsive landing page with basic css

    1
    Davide•330
    @deedeedev
    Posted over 1 year ago

    Hi @ad-monir2001 , you might want to wrap all your top-level divs in a "container" div and apply a max-width: 1024px and margin: auto on that, so the content doesn't get too wide on larger monitors. You can apply a max-width to the nutrition div too and for the class .texts switch from justify-content: space-around to justify-content: space-between so that the values align nicely on both sides of the div.

    Other than that, nice job! 👍

  • sefoo333•260
    @sefoo333
    Submitted over 1 year ago

    Blog preview card by flexbox

    1
    Davide•330
    @deedeedev
    Posted over 1 year ago

    Hi @sefoo333 , you might want to add a little padding to the .par class, around the card content, something like 20px, and also change width and height of the svg image to width: 100% and height: 100%, so that it stretches all along the card width.

    Other than that, nice job!

    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

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