Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
9
Comments
2
Kaung Lun
@lunk-kml

All comments

  • Yago Guedes•130
    @guedesyc
    Submitted over 2 years ago

    profile-card-component-main

    1
    Kaung Lun•110
    @lunk-kml
    Posted over 2 years ago

    Great job on the challenge.

    I just got one idea you should try for future challenges and projects. When putting more than one image (<img>) elements in HTML, try wrapping them in <picture>.

    Here’s the documentation and the guide to use this <picture>: https://www.w3schools.com/tags/tag_picture.asp

  • David•60
    @DavidMBK
    Submitted over 2 years ago

    Order Summary Solution [feel free to correct me]

    1
    Kaung Lun•110
    @lunk-kml
    Posted over 2 years ago

    I really liked the result of your project, but I have some idea that I think you will enjoy. Try either one of those 2:

    1. Add: >> background-repeat: repeat-x; << Explanation: The image will repeat on the horizontal axis, preventing it from breaking.

    2 ) Add: >> background-size: 100% 50vmin; << Explanation: The 50vmin will set its height as the page target, and 100% will make it stretch on the horizontal axis.

    I did this same exact challenge and someone recommend this to me too. Feel free to experiement.

    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