html, body {
margin: 0;
height: 100%;
}
More Related Contents:
- CSS Button styling – Need some help -html css RADIO BUTTON LINK
- Make body have 100% of the browser height
- Change Select List Option background colour on hover
- How to center elements on the last row in CSS Grid?
- Is there an equivalent to background-size: cover and contain for image elements?
- Using margin:auto to vertically-align a div
- Placing border inside of div and not on its edge
- CSS background image to fit width, height should auto-scale in proportion
- Position: absolute and parent height?
- Adding external CSS in an HTML file
- Responsive CSS Trapezoid Shape
- How can I set the max-width of a table cell using percentages?
- make div’s height expand with its content
- Prevent flex items from stretching
- Hexagon shape with a border/outline
- Flex items not respecting margins and box-sizing: border-box
- Why cannot change checkbox color whatever I do? [duplicate]
- Align the form to the center in Bootstrap 4 [duplicate]
- CSS for changing color of last word in h1
- CSS box shadow around a custom shape?
- floating elements are outside of containing blocks?
- CSS – Border where only half of a border is visible
- How to have two items on opposite sides on the same line
- content url is not working in Firefox [closed]
- How can I target a specific column or row in a CSS grid layout?
- body { overflow-x: hidden; } breaks position: sticky
- How to create a triangle in CSS3 using border-radius
- Bootstrap 3 grid, does it *really* matter how many columns are in a row?
- Change image on hover
- Why does a border increase the element’s width?