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 Create a Flipping Animation with 3D Transform Properties

Kieran Mackey
Kieran Mackey
1,911 Points

Backface visibility isn't working for me on Brave browser. Any idea how to fix?

.content { perspective: 700px; }

.photo-container{ transition:transform .5s ease-out; transform-style:preserve-3D; }

.photo-container:hover { transform: rotateY(-180deg) }

.side-a, .side-b { backface-visibility:hidden; }

1 Answer

Steven Parker
Steven Parker
221,323 Points

I checked the browser compatibility section on the MDN page but I don't see "Brave" listed.

I'm surprised at the compatibility issues since the web description of Brave says it's based on the V8 engine (as used by Chrome). But I did find a blog article from 2017 mentioning this as an issue with Brave, but a comment a few weeks later says "I can confirm, that the issue is solved into the latest version of Brave".

If it has been broken again by recent updates, perhaps the browser maintenance team should be notified. Otherwise, maybe using backface-visibility should be avoided if you know your site needs to support this browser.

Kieran Mackey
Kieran Mackey
1,911 Points

Ok thanks for taking the time to look into this!