I am a newbie to web development and I have just started coding for my own personal website. I absolutely do not know any syntax for html nor css. From reading and watching tutorials online, I have managed to create the background gradient of my website but the gradient is not behaving as I wanted it to. I want the gradient to remain the same proportion when the browser window is resized. Right now the gradient is stretched according to window size.
Please help. Here is the code I have so far for css
html {
height: 100%;
background: #499bea;
}
body
{
float:left;
position:relative;
height: 100%;
width: 100%;
background-position: 0px 0px;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
background-size:100% 100%;
-moz-background-size: 100% 100%;
-webkit-background-size: 100% 100%;
-o-background-size: 100% 100%;
background: #499bea;
background: -moz-radial-gradient(center, ellipse cover, #499bea 0%, #00438a 100%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, , color-stop(0%, #499bea), color-stop(100%, #00438a));
background: -webkit-radial-gradient(center, ellipse cover, #499bea 0%, #00438a 100%);
background: -o-radial-gradient(center, ellipse cover, #499bea 0%, #00438a 100%);
background: -ms-radial-gradient(center, ellipse cover, #499bea 0%, #00438a 100%);
background: radial-gradient(ellipse at center, #499bea 0%, #00438a 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#00438a', GradientType=1 );
}