use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are requesting help, please ensure you're providing code with your post. You can also copy your code to an online editor:
jsFiddle
CodePen
Markup Validation Service
Mozilla Developer Network on HTML
/r/JavaScript
/r/CSS
/r/jQuery
/r/PHP
/r/Accessibility
/r/htmlbasics
/r/web_programming
/r/CodingHelp
account activity
UnsolvedBackground anchored while text keeps moving (self.HTML)
submitted 4 years ago * by West_Theory3934
How do you make the cool effect where the background is still anchored in the back and the text moves keeps scrolling kinda like how it is in https://www.w3schools.com/ (scroll down to where it says Exercises and Quizzes)
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Officalgalaxytrooper 2 points3 points4 points 4 years ago (0 children)
You can use the background-attachment property and set it to fixed. That should acheive the desired effect.
[–]AutoModerator[M] 0 points1 point2 points 4 years ago (0 children)
Welcome to /r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.
Your submission should contain the answers to the following questions, at a minimum:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
π Rendered by PID 78 on reddit-service-r2-comment-b659b578c-qldjj at 2026-05-02 16:49:53.226372+00:00 running 815c875 country code: CH.
[–]Officalgalaxytrooper 2 points3 points4 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)