What does everyone doing to getting full screen DOM area at the after immediately generate new cra app? #9220
Answered
by
lindskogen
ryota-murakami
asked this question in
General
-
In the below initial page, So I add following css in html, body, #root {
width: 100%;
height: 100%;
} I wonder what does people doing to make React app's screen area at initially! 😀 Thank you 🤗 |
Beta Was this translation helpful? Give feedback.
Answered by
lindskogen
Jun 30, 2020
Replies: 1 comment 1 reply
-
Basically the same, but watch out: if your content gets taller than 100% of the window height. I would set |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ryota-murakami
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basically the same, but watch out: if your content gets taller than 100% of the window height.
I would set
min-height: 100%
instead, like you did for the child element