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

My gradients look very different in Firefox

Hey Guys, So I understand that the presentation of colour always varies to some degree, but having tested my first website (http://www.danielmears-music.co.uk) in a few browsers (chrome, IE, Firefox, android browser) it seems that Firefox is alone in presenting my gradients VERY differently. Is there something I am missing? By the way, if it makes any difference I've primarily been using HSLA for my colours. Thanks for your time :)

Very strange not sure why its doing that. Try adding the -moz- prefixed gradient see if that sorts it out.

BTW - Line 1 in main content has the word "my" doubled up so showing "my my".

thanks for the heads up, i'll give that a go to :)

1 Answer

There is a prefixed and unprefixed version for gradients, and they are each structured somewhat differently. This could account for different appearances in certain browsers. If you are having issues, return back to the CSS deep dive gradients section and go through the entire thing (again, if you haven't already).