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

CSS

Shannon Yeh
Shannon Yeh
8,987 Points

Code Challenge transition

hi i am having difficulty.. i dont know what I did wrong here:

.box {
    border-radius: 15px;
    background: #4682B4;
  -webkit-transition-duration: 2s;
  -webkit-transition-delay: 1s;
  -Webkit-transition-timing-function: linear;
 }

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

}

keeps saying that its wrong T__T

4 Answers

James Barnett
James Barnett
39,199 Points

For future forum searchers, here's a hint, this code challenge has 4 parts:

  1. Create a transition for the border-radius property of '. box'
  2. Give the transition a duration of 2 seconds
  3. Give the transition a delay of 1 second
  4. Use a timing function that maintains a linear motion.

Here on the forum most people seem to forgot part 1.

Ryan Allen
Ryan Allen
6,280 Points

Hi Shannon, could you post the challenge question as well? Thanks.

Shannon Yeh
Shannon Yeh
8,987 Points

hi actually i figured it out thank you =)

What did you do to fix this, im stuck on the same thing ><

Forgot the webkit prefix on the transition-property -.-

James Barnett
James Barnett
39,199 Points

You forgot to specify the property you want to transition.