I'm using an image as the background of my webpage, and I want to increase the length of my page so that you can scroll up and down to see the full image.
Site:
mrblack2049.neocities.org
code:
body {
background-image: url('Images/projecteva2.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
color: white;
font-family: 'fonts/font1.otf';
}
h1{
font-size: 80px;
}
The image is 858 x 1072
Nvm, I just had to increase the background-size: ; to match the image, and then delete the background-attachment: fixed; line.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)