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


Transition Property Test

I can't seem to pass the transition property test, but I'm unsure why. Here's what I put

.box { border-radius: 15px; background: #4682B4; }

.box:hover { background: #F08080; border-radius: 50%;

  • -webkit-transition: border-radius 2s linear 1s;


I also tried it in the .box { section, but it didn't work.

2 Answers

The transitions need to be added to the original state not the hover eg

.box {
    opacity: .6;
    transition: opacity .6s ease;

.box:hover {
    opacity: 1;

This way when the browser see a hover effect the transition is already in place.

Hope this helps

Steve N. Peralta R.
Steve N. Peralta R.
31,097 Points

Pay attention to the hyphen. It must be only one hyphen before on "-webkit-" instead "--webkit-" so, try in this way:

     border-radius: 15px;
     background: #4682B4;
     -webkit-transition: border-radius 2s linear 1s;