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 CSS Foundations Selectors Link and User Action Pseudo-Classes

Confused

In the video when Guil is talking about "focus class" , he writes in .css "input:focus" .. but as soon as he refresh the browser to show us how it implemented , "input:focus" is magically changed to "a:focus" ? , With my little knowledge of .css , i'm pretty sure that is not what was suppose to happen :S

Adam Moore
Adam Moore
21,956 Points

Just watched that part, and it definitely magically changed! I'm sure it had to do with editing of the video and simply not catching that the instructions/code had been changed. But yeah, you are definitely right!

James Finn
James Finn
7,055 Points

Confirmed. The instructor goes to tab through and all of a sudden it's the a's receiving focus, not the input. Funny.

1 Answer

They'll teach you how to magically change CSS in a more advanced course. :P