7. Let's .focus()


Running this code is somehow turning the input box blue. Can't for the life of me figure out why. I even checked the hex code here http://www.color-hex.com/ and it says #ff0000 is red...

        $(this).css('outline color','#ff0000');


multiple word properties are always hyphenated in CSS.


There are other ways to write the same general rule.

.css({'outline-color': '#ff0000'})

.css({outlineColor: 'red'})

and so on.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.