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

George Kobiashvili
George Kobiashvili
1,994 Points

I cant' write the quiz,what can I do..? please help me ...!

..?

index.html
<!DOCTYPE html>
<html>
<head>
    <title>CSS Transitions</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="box"></div>
</body>
</html>
style.css
/* Complete the challenge by writing CSS below */

.box {
    border-radius: 15px;
    background: #4682B4;
 }

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

6 Answers

Hi George,

Add the following to your box class:

-webkit-transition: border-radius 2s linear 1s;

so it becomes:

.box {
    border-radius: 15px;
    background: #4682B4;
  -webkit-transition: border-radius 2s linear 1s;
 }

Hope that helps

-Rich

George Kobiashvili
George Kobiashvili
1,994 Points

hi, thank ! but that don't work .. :(

Hi George,

It seems to work fine for me. The whole file looks like:

/* Complete the challenge by writing CSS below */

.box {
    border-radius: 15px;
    background: #4682B4;
  -webkit-transition: border-radius 2s linear 1s;
 }

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

-Rich

Hi George,

I have been through that challenge and completed it using the code I've supplied above.

-Rich

George Kobiashvili
George Kobiashvili
1,994 Points

ok thank I will try it again :)

No problem :)

George Kobiashvili
George Kobiashvili
1,994 Points

thank Rich! I have dan it at alst ! :) Thank!

No problem, glad you got it sorted :)

George Kobiashvili
George Kobiashvili
1,994 Points

Thank Rich! I have done it finally :) thank you!