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 Unused CSS Stages Transitions and Transforms Transitions - WebKit Only

Ryan Spears
Ryan Spears
2,649 Points

I need help

I do not know what I am doing wrong. I think I type the code correctly but it keeps telling me that do I have the correct transition property. Please help

Ryan Spears
Ryan Spears
2,649 Points

ok so here is my code.

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

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

thx for helping :)

Ryan Spears
Ryan Spears
2,649 Points

ok so here is my code.

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

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

thx for helping :)

Anna Dadej
Anna Dadej
10,707 Points

They asked about prefix for webkit-based browsers, so you forgot about -webkit-transition

2 Answers

We need to see your code before we can help.

+1 for code request. :-)