Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to make gradient backgroud cover whole page in html

/*Basically, add html height 100%. This will stretch your gradient.*/
html {
  height:100%;
}

body {
  background-image: /* put gradient here */;
  background-repeat: no-repeat;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css image filter black and white 
Css :: css fadeIn opacity transition 
Css :: css disabled div 
Css :: how to make img cover parent div 
Css :: center elements vertically in div 
Css :: css breakpoints 
Css :: linear-gradient(top to bottom) 
Css :: keyframe fade down css 
Css :: checkbox remove styling 
Css :: ion-tab-bar transparent 
Css :: watch scss to css 
Css :: html make text not highlightable 
Css :: html align text anchor 
Css :: media queries on mobile 
Css :: border radius not working 
Css :: center align an image css 
Css :: tablet screen media query 
Css :: center absolute element css 
Css :: vertical-align tablerow 
Css :: css change width animation 
Css :: remove underline from <a HTML 
Css :: how to center vertically and horizontally in css 
Css :: make blur with css 
Css :: have an item span multiple columns css grid 
Css :: css heart 
Css :: navigation bar stays on top 
Css :: font awesome pseudo element 
Css :: text underline 
Css :: label width css 
Css :: second scrollbar appears 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =