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 trialGary Christie
5,151 PointsI just can't figure it out
The code challenge question is "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 think the "prefix for webkit- based browsers" is throwing me off. I keep watching the video over and over and for some reason I cant get this one right. Help please
3 Answers
Chris Shaw
26,676 PointsHi Gary,
What have you tried so far in the challenge? The prefix itself is -webkit
which relates to browsers such as Google Chrome and Safari, you can find a ton of threads on the forum about this challenge by visiting the below link.
John Steer-Fowler
Courses Plus Student 11,734 PointsHi Gary,
The prefix for webkit browsers in css tells the webpage to run certain css code if the browser the webpage is being viewed in is webkit like Apple's Safari browser.
example:
border-radius: 20px;
-webkit-border-radius: 5px;
If not a webkit browser, this css will put a border radius of 20px, but if webkit then it will only do a border radius of 5px
Hope this helps
Gary Christie
5,151 PointsThanks guys. As soon as you showed me "-webkit" the understanding just hit me. I was able to pass the code challenge. Once again thank you
John Steer-Fowler
Courses Plus Student 11,734 PointsYou're welcome Gary.
Keep up the good work
Chris Shaw
26,676 PointsNo problem
John Steer-Fowler
Courses Plus Student 11,734 PointsJohn Steer-Fowler
Courses Plus Student 11,734 PointsNice link Chris, the answer to most questions on this topic are there.