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 trialGustavo Santana
Courses Plus Student 4,267 PointsUpdates to old courses...
This is not quite up to date. How often will we see updates to old material that has already been put up?
This does absolutely nothing:
-webkit-radial-gradient(circle, #E3A112, #00018F);
Gustavo Santana
Courses Plus Student 4,267 PointsNever mind, I did not noticed that the starting documents where the same as the ending documents. width/heigh/border-radius where already set in the file so I began with a sphere.
.box {
width: 300px;
height: 300px;
border-radius: 50%;
margin: 35px auto;
}
James Barnett
39,199 PointsWhat browser did you try that in?
2 Answers
Gustavo Santana
Courses Plus Student 4,267 PointsSo the issue was actually that the start and end project files had the same width height and border radius:
.box {
width: 300px;
height: 300px;
border-radius: 50%;
margin: 35px auto;
}
while in the example, you began with :
.box {
width: 500px;
height: 400px;
border-radius: 50%;
margin: 35px auto;
and ended with the previous. This meant I started with the 'sphere' I just failed to notice this until the end of the video when I realized you had changed the .box properties to what I already had set.
James Barnett Chrome.
Guil Hernandez
Treehouse TeacherI also cover the latest syntax for both linear and radial gradients in the same stage. Until recently the syntax for gradients has been in flux, so that's why I included both the prefixed and unprefixed versions. :)
Ryan Carson
23,287 PointsRyan Carson
23,287 PointsTagging Guil Hernandez