Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
8
Comments
1
letsGetToCode
@letsGetToCode

All comments

  • BryanhSantos•60
    @BryanhSantos
    Submitted over 1 year ago
    What are you most proud of, and what would you do differently next time?

    none

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

    The difficulty I encountered was how to efficiently centralize the content of the div.

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

    CSS, div

    QRcode 1st attempt

    3
    letsGetToCode•80
    @letsGetToCode
    Posted over 1 year ago

    Acho que não há muito a apontar para o projeto, bom trabalho!

    Normalmente para centrar o conteúdo das div utilizo flexbox. Um exemplo:

    <div class="container">
        conteudo
    </div>
    
    .container {
     width: 200px;
     align-items: center;
     justify-content: center
    }
    

    Lembrando que se flex-direction: column align-items interfere no eixo X e justify-content no eixo Y. Se flex-direction: row esses comandos alterarão os eixos Y e X respectivamente.

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