Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
43
Comments
1
Samuel Seve
@nihilboy1

All comments

  • Bruna Felix•100
    @brunafelix79
    Submitted over 3 years ago

    Site 3 colunas

    #angular
    1
    Samuel Seve•630
    @nihilboy1
    Posted over 3 years ago

    Pra centralizar elementos vc pode usar varias propriedades do css, mas acredito que flexbox é o mais simples e direto.

    <div id="caixa1"> <div id="caixa2"> </div> </div>

    #caixa1: { display: flex; justify-content: center; align-items: center; }

    isso vai fazer a caixa2 ficar centralizada nos dois eixos em relação a caixa1

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