Help changing the length of my page |
Help changing the length of my page |
mrblack2049 |
Sep 8 2023, 06:59 PM
Post
#1
|
Group: Members Posts: 3 Joined: 8-September 23 Member No.: 29,045 |
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; } |
mrblack2049 |
Sep 8 2023, 07:00 PM
Post
#2
|
Group: Members Posts: 3 Joined: 8-September 23 Member No.: 29,045 |
The image is 858 x 1072
|
mrblack2049 |
Sep 8 2023, 07:38 PM
Post
#3
|
Group: Members Posts: 3 Joined: 8-September 23 Member No.: 29,045 |
Nvm, I just had to increase the background-size: ; to match the image, and then delete the background-attachment: fixed; line.
|
Lo-Fi Version | Time is now: 21st September 2024 - 08:46 AM |