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 trialBenjamin Leveau
4,281 PointsWhy is this not working in the webkit transform challenge: -webkit-transition: border-radius 2s 1s linear
I have tried shorthand and long-hand version but nothing seems to work. It works in the preview but it wont allow me to pass the challenge
4 Answers
Samuel Lopez
Front End Web Development Techdegree Student 13,960 PointsThis should be your code:
.box {
border-radius: 15px;
background: #4682B4;
-webkit-transition: border-radius 2s linear 1s;
}
.box:hover {
background: #F08080;
border-radius: 50%;
}
You had the delay (1s) property before the timing function (linear) property.
Samuel Lopez
Front End Web Development Techdegree Student 13,960 PointsCan we see your code?
Benjamin Leveau
4,281 Points.box { border-radius: 15px; background: #4682B4; }
.box:hover { background: #F08080; border-radius: 50%; -webkit-transition: border-radius 2s 1s linear; }
Benjamin Leveau
4,281 PointsOh ! Great. Thanks a lot!