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 trialSreng Hong
15,083 PointsI stuck with this code challenge
I try to do as a requirement, but I can't get it right. It always said "make sure your transition property is correct".
3 Answers
Shawn Flanigan
Courses Plus Student 15,815 PointsMove all of your transition-specific css into the .box
section instead of the .box:hover
section. Should work.
Sreng Hong
15,083 PointsThank Shawn!!! Can you tell me what differences between put it in .box and .box:hover?
Shawn Flanigan
Courses Plus Student 15,815 PointsAdding it to the hover
state works in one direction, but once you move the cursor off of the box, the styling snaps back to its original state. By adding your css to the main .box
selector, the browser will transition in the other direction as well.
Sreng Hong
15,083 PointsOh i got it, thank again!!!
Sreng Hong
15,083 PointsSreng Hong
15,083 Points