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 trialPreet Dha
6,709 PointsWhy won't this code work?
I am using the following shorthand transition property but it will not pass the challenge. Can someone tell me what might be wrong?
.box {
border-radius: 15px;
background: #4682B4;
-webkit-transition: border-radius 2s linear 1s;
}
.box:hover {
background: #F08080;
border-radius: 50%;
}
3 Answers
Jim Hill
1,758 PointsWeird - that should be correct:
-webkit-transition: border-radius 2s linear 1s;
I just tried it and it worked. Did you click "check work"?
Preet Dha
6,709 PointsI kept refreshing to test it out in the preview box, and the transition was not working. Must be a little buggy. I didn't bother to "check work" until your suggestion! Thanks Jim.
James Barnett
39,199 PointsWhich browser were you using when doing this?
Preet Dha
6,709 PointsChrome 32