Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Transitions and Transforms Adding 3D Effects with CSS 3-Dimensional Rotations with rotateZ() and rotate3d()

paul oram
paul oram
3,429 Points

When the panels flip over to side-b I tried to make the button change color on hover, but this doesn't work -any reason?

.button { transition: background 1s ease-out; }

.button:hover { background: red; }

1 Answer

Steve Gallant
Steve Gallant
14,919 Points

Hi Paul, The .button and .button:hover are targeted up at the top of the interactions.css file. When I changed the background value for .button:hover to red, it works fine. Maybe posting your complete code will help...

Steve