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
Mirko Blejic
Courses Plus Student 37 PointsFixed div
Hello guys, how can I make this kind of fixed div which is following scrolling...
http://goo.gl/qu5kv1 like this review score is staying in place until screen scrolls to it? Thanks
1 Answer
Aurelian Spodarec
7,369 PointsYou mean the sidebar? Its JavaScript . its like something when this reach x pixels or top then it stay fixed and when it reaches the end of this other div it goes away and scroll down . ( i think that sort of the logic ) .
But its JavaScript , not CSS :) You can make position absolute with CSS so it stays on the place all the time.