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

Highlight under css color not working in Firefox

In "Add Style to the Page" lesson teacher talk about fast color preview with mouse move under color attribute. This work fine under Safari but in Firefox I have nothing. I have Mac 10.9.3

Jacob Miller
Jacob Miller
12,466 Points

Can you post your code please? If you're using any properties beginning with "-webkit-", you'll need to duplicate those but change "webkit" to "moz" to work in Firefox. For example, the code below will work in both Safari and Firefox, because of the -webkit- prefix and the -moz- prefix:

-webkit-transition: color .3s;
-moz-transition: color .3s;

5 Answers

Jacob Miller
Jacob Miller
12,466 Points

Ah, I understand now. I think that's just a feature unavailable in Firefox. There's nothing wrong with it, just different features of different browsers.

Thanks Jacob, for your answer. But I think we have some misunderstooding. I talk about "Worskspaces" code editor here. On this site.

Jacob Miller
Jacob Miller
12,466 Points

Hmm. I'll have to see your code to know what you're talking about. Can you post your code please? Thanks.

This How it should look: alt text

But in Firefox it does not.