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 trialGeorge Kobiashvili
1,994 PointsI cant' write the quiz,what can I do..? please help me ...!
..?
<!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>
/* Complete the challenge by writing CSS below */
.box {
border-radius: 15px;
background: #4682B4;
}
.box:hover {
background: #F08080;
border-radius: 50%;
}
6 Answers
Rich Bagley
25,869 PointsHi 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
1,994 Pointshi, thank ! but that don't work .. :(
Rich Bagley
25,869 PointsHi 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
Rich Bagley
25,869 PointsHi George,
I have been through that challenge and completed it using the code I've supplied above.
-Rich
George Kobiashvili
1,994 Pointsok thank I will try it again :)
Rich Bagley
25,869 PointsNo problem :)
George Kobiashvili
1,994 Pointsthank Rich! I have dan it at alst ! :) Thank!
Rich Bagley
25,869 PointsNo problem, glad you got it sorted :)
George Kobiashvili
1,994 PointsThank Rich! I have done it finally :) thank you!