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 Unused CSS Stages Transitions and Transforms Transitions: Part 1

Cursor: pointer; in project download css files

In the project files for this video there is a line of code in the .box{} labeled "cursor:pointer" that is never discussed. Can anyone tell me what this is and its function?

Thanks!

2 Answers

Jeff Jacobson-Swartfager
Jeff Jacobson-Swartfager
15,419 Points

The CSS cursor property controls the appearance of a cursor when it is over an element. The pointer value makes it use the pointer icon (usually a hand). You can find out more about the cursor property on the MDN page.

Thanks!