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
amadeo brands
15,375 PointsTransition element is not working correctly
Please check: http://ab-isolutions.nl/dev/pro-ondernemer/ The transition is not working correctly
Any idea how to fix?
.main-navigation ul li { transition: background 1.25s ease-in; -moz-transition: background 1.25s ease-in; -webkit-transition: background 1.25s ease-in; }
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsTo see the transition, you need another rule that affects the same element(s) with a different value for background.
So try add a hover effect with a different background to whatever it is by default. Make sure you're affecting the same element(s), so, not the a tag, for instance.