Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
10
Comments
2
Manuel Lucero
@MalexLucero

All comments

  • Subodh Kushwaha•10
    @subodh1221
    Submitted almost 3 years ago

    Responsive Qr code scanner psge using css ,html5

    #accessibility
    2
    Manuel Lucero•140
    @MalexLucero
    Posted almost 3 years ago

    Enclosing the image, title, and text into an article or div element will help. You can then center the article/div element without worrying about the image.

    <article>
        <img src="yourImg.jpg" />
        <h1>card title</h1>
        <p>card text</p>
    </article>
    

    In the CSS, you could position the article element in the center by adding flex box to the body.

    body {
        display: flex;
        flex-direction: column;
        justify-content: center;
       align-items: center;
    }
    

    css-tricks.com/snippets/css/a-guide-to-flexbox/ Here's my favorite guide on flexbox. :)

    Keep it up!

  • Ariel Rubel•70
    @pepepinguino69
    Submitted almost 3 years ago

    Flexelements containing other flex.No need for responsiveness

    1
    Manuel Lucero•140
    @MalexLucero
    Posted almost 3 years ago

    I really like the BEM (block element modifier) and Atomic Design methodologies where you attempt to name classes after the component. For example, I choose card, card__title, card__ image, and card__content as my class names of the elements that form the card. Here's a great resource https://en.bem.info/methodology/quick-start/. There are also really good youtube videos on Atmoic Design. https://www.youtube.com/watch?v=W-h1FtNYim4

    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