Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

viewport height css

Leo Fras answered on August 14, 2023 Popularity 9/10 Helpfulness 2/10

Contents


More Related Answers

  • Add a viewport meta tag to the document head to set the width of the layout viewport equal to the width of the device and set the initial scale of the viewport to 1.0.
  • JS get viewport width
  • initial scale viewport
  • detect viewport size javascript
  • Viewport fullsize
  • set element equal to the size of the viewport
  • Element in viewport or not ?
  • viewport
  • what if i want a section to take the height of a viewport html
  • viewport
  • viewport
  • viewport
  • window viewport width
  • what are the viewport based units in html
  • what if i want a section to take the height of a viewport html

  • viewport height css

    0

    body
    {
    min-height: 100vh;

    /* vh (view-port height) represents a percentage of the height of the viewport (the visible area of a web page in the browser window). */

    }

    Popularity 9/10 Helpfulness 2/10 Language css
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Aug 14 2023
    Leo Fras
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.