Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Foundations Backgrounds and Borders Background Properties

Stephen Little
Stephen Little
8,312 Points

when I use the background-attachment of fixed the rain image get smaller and doesn't fill the box.

when I use the background-attachment of fixed the rain image get smaller and doesn't fill the box.

1 Answer

Tomy Lim
Tomy Lim
4,571 Points

Greeting Stephen,

Can you post your codes on here so that I am able to review them. You can use a code playground to post your work and share with people. I use a website called codepen.io, but another website will do just fine.

Also, are you trying to have your background-image cover the whole page? If so you can use this element { background-size: cover; }

Thank You,

Tomy