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 trialSajan Miah
13,827 PointsI'm struggling to complete this objective, can somebody help and tell me where I am going wrong?
Here is my css:
.box {
width: 25%;
height: 200px;
border-radius: 15px;
background: #4682B4;
transition-property: background;
transition-duration: 2s;
transition-timing-function: cubic-bezier(.5, -.5, .3, 1.3), linear;
transition-delay: 1s;
}
.box:hover {
background: #F08080;
border-radius: 50%;
}
2 Answers
Dave McFarland
Treehouse TeacherHi Sajan Miah.
The challenge is asking for the webkit-prefixed versions of the CSS properties:
-webkit-transition-property, -webkit-transition-duration, -webkit-transition-timing-function, -webkit-transition-delay
You're using the
background
property for the transition-property. It should beborder-radius
For the timing function, leave out the cubic bezier. It should be a regular linear timing function:
-webkit-transition-timing-function: linear;
Sajan Miah
13,827 PointsThankyou so much for getting back to me, I can see exactly where I have gone wrong. I've completed the objective now thanks to your help :)
Dave McFarland
Treehouse TeacherGreat! Glad I could help.
James Ingmire
11,901 PointsJames Ingmire
11,901 PointsWhats the question?