-6

How can I create full screen HTML page?

I try this

height:100%

but dosn't works!

Bambier
  • 586
  • 10
  • 16
  • What is the [javascript] [reactjs] and [sass] tag doing here? :) This is only a css question – I_love_vegetables Aug 31 '21 at 08:48
  • *Doesn't work* is a very vague term. You should post your HTML structure and related CSS classes. Better if you can make a JSFiddle – Raptor Aug 31 '21 at 08:50
  • why are you answering your own question and pretending to be another user ? :O " Just add code blow to your main style css file: " ? what is going on :)) Aaand you did the same here https://stackoverflow.com/questions/68965686/requests-exceptions-connecttimeout-httpsconnectionpoolhost-api-telegram-org – Mihai T Aug 31 '21 at 08:51
  • Also your title says “with sliding” I do not see anything related to sliding in the post – I_love_vegetables Aug 31 '21 at 08:52
  • 1
    @MihaiT my guess is he is trying to get the self-learner badge(?) – I_love_vegetables Aug 31 '21 at 08:53

2 Answers2

-1

just work with devices views :

body{
width: 100vw;
height: 100vh;
}
Anton
  • 59
  • 8
-2

Just add code blow to your main style css file:

body {
        min-height: 100%;
        width: 100%;
        position: absolute;
  }
Bambier
  • 586
  • 10
  • 16