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 trialAlizee Le Reun
1,455 PointsStage 7... Help
Hello everyone,
I'm stuck for the question "Round each corner of the rounded div by 30px". Any Help ?
Dustin Matlock
33,856 PointsAnd for people who still can't quite grasp how to post code (future reference as well), here's a graphic to help with the process.
5 Answers
Jason Anello
Courses Plus Student 94,610 PointsThey want you to use the border-radius
property.
.rounded {
border-radius: 30px;
}
Before we had the border-radius property we had to resort to using images to achieve rounded corners which I think is what you were trying to do here. It's much easier now though.
Jovanny Elias
16,204 PointsHello, Try this
.rounded { border-radius: 30px; }
Alizee Le Reun
1,455 PointsThank you guys for the help :)
Alizee Le Reun
1,455 PointsThis is my code :
.rounded { background: url(rounded.png) repeat-y 0 0; width: 30px; }
Michelle Pepe
Courses Plus Student 6,125 PointsI had noticed that the div class in the html file was rounded box not rounded. you have write rounded on the div class and then write this code in css .rounded { border-radius:30px; }
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Alizee,
How to post code
It's faster to post code this way than using screenshots. Also, images have to be uploaded somewhere in order to be posted. They won't work from your desktop.