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 trialAmanda Isaacson
3,606 PointsTransition Objective
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.
I'm not sure how to accomplish this objective? I've watched the video over and over again but I cant seem to get it right.
2 Answers
Nadia Brown
8,563 PointsYou need to use the -webkit-transition property.
.box {
-webkit-transition: border-radius 2s linear 1s;
}
Nadia Brown
8,563 PointsYou're welcome Amanda. And James, my intention was to be helpful. I've struggled with a few questions in the past, and as a student who is also learning, it has helped me to see the answer, and then figure out how it works.
James Barnett
39,199 PointsJames Barnett
39,199 PointsNadia Brown - Now that you've given away the answer. How does that help users new to CSS learn to debug their CSS and perpare theme to create web sites in the real world?
Richard Duncan
5,568 PointsRichard Duncan
5,568 PointsSure I answered that very same question not two nights ago James Barnett ;) my view is that it helps through the process of reverse engineering - disassemble, analyse and re-create.
Amanda Isaacson
3,606 PointsAmanda Isaacson
3,606 PointsThanks Nadia! I had the webkit transition property but was arranging it the wrong way