jquery - How do I fit my website height to fit the screen? -


this question has answer here:

i want web page fit on screen width , height well. how possible? know media query using widths.

how set height?

please tell me how can use media queries set page fit in terms of width , height.

if want @ max width , height browsers, this:

<body>   <div class="container">     <!-- page content goes here -->   </div> </body> 

and in css put this:

.container {   height: 100vh;   width: 100vw;   overflow: auto; } 

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -