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

General Discussion

CSS Transitions Code Challenge Part 1

I can't seem to get this thing right. I've tried the following: -webkit-transition-duration: 2s; -webkit-transition-delay: 1s -webkit-transition-timing-function: linear;

and

-webkit-transition: 2s 1s, linear;

and

-webkit-transition: 2s 1s linear;

Any help would be greatly appreciated!

Micah

3 Answers

Hi Micah,

I was just having the same problem. I ended up checking the Mozilla documentation and found that you can shorthand it to be:

-webkit-transition: <property> <duration> <timing-function> <delay>;

So, that means it ends up being:

-webkit-transition: border-radius 2s linear 1s;
Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Micah Goldston,

You're super close. What you'll need to do next is set border-radius as the transition property.

I'm so glad someone asked this question. I also did not understand the significance of putting border-radius in the shorthand transition rule. Thanks, Micah. Thanks, Sam. Stay good looking, Gil.