• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
- 2

Background Image

How do you make the background image to remain fixed even when you scroll up or down?

htmlcss
8th Jul 2017, 1:00 PM
Mame86
Mame86 - avatar
3 Answers
+ 11
background-attachment: fixed; https://code.sololearn.com/Wud8N7xDgNp3/?ref=app
8th Jul 2017, 1:05 PM
Maz
Maz - avatar
- 2
Thanks all!
8th Jul 2017, 2:54 PM
Mame86
Mame86 - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Hello! I’m 15 and I want to learn programming to become a web developer. Any advice?
0 Votes
help string permutation
0 Votes
Code is wrong somehow, I need help!
0 Votes
Can you give me some advice on what project I can start with today to practice HTML, CSS, and JavaScript?
0 Votes
Is the Python Developer course the final course of Python?
0 Votes
@sololearn Python
1 Votes
APP FREEZING
0 Votes
Newb
0 Votes
I am asking for your help, I need to optimisate my code.
0 Votes
Building an AI Call Tracking & Routing System — Anyone tried it?
0 Votes