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

Patrick McDermott
2,377 PointsTransition test
I am struggling with the second test on transitions. It is asking me 'Using the prefix for WebKit-based browsers, create a transition for the border-radius property of '.box'. Give the transition a duration of 2 seconds, a delay of 1 second, and a timing function that maintains a linear motion.
My coding is:
.box {
border-radius: 15px;
background: #4682B4;
transition-property: border-radius;
transition-duration: 2s;
transition-delay: 1s;
transition-timing-function: linear;
}
.box:hover {
background: #F08080;
border-radius: 50%;
}
Keeps saying check work. Can someone help me?
Cheers
2 Answers

Guil Hernandez
Treehouse TeacherYou're super close. All that's missing are the vendor prefixes it asks you to include before each transition property.

Patrick McDermott
2,377 PointsIm getting closer I feel but not sure where Im going wrong
.box {
border-radius: 15px;
background: #4682B4;
transition-property: border-radius;
transition-duration: 2s;
transition-delay: 1s;
transition-timing-function: linear;
-webkit-transition: 2s;
-moz-transition: 2s;
-o-transition: 2s;
}
Do I need to add anymore to the prefixes?

Guil Hernandez
Treehouse TeacherHey Patrick McDermott,
The 3 properties you just added are not necessary for this code challenge. Stick with your original code, then simply add "-webkit-" in front of each transition property defined. Hope this helps.
Patrick McDermott
2,377 PointsPatrick McDermott
2,377 PointsWhere will I find these, or should I just watch the video again and get them from there?
Guil Hernandez
Treehouse TeacherGuil Hernandez
Treehouse TeacherIt's the -webkit- prefix used in the first video. We included it right before the transition-duration property at the end, so that it can work in older WebKit-based browsers.
I'll be updating this soon, so that you won't need to add the prefix in the code challenge. :)
Patrick McDermott
2,377 PointsPatrick McDermott
2,377 PointsDID IT :D
Guil Hernandez
Treehouse TeacherGuil Hernandez
Treehouse TeacherPatrick McDermott – Nice work! :)