1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

In Angular2, how to make <app-root> 100% height

Discussão em 'Angular' iniciado por Zanecola, Julho 28, 2025.

  1. Zanecola

    Zanecola Guest

    I am using Angular2 and I want to set the height of <app-root> to 100% of <body>.

    Currently I have:

    <body>
    <app-root></app-root>
    </body>


    and in CSS file I've set:

    app-root {
    height: 100%;
    }


    but it seems nothing changed.

    Do you have any idea?

    Continue reading...

Compartilhe esta Página