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
Colin Lewis
9,021 PointsChrome Transitions into Square when it should be a circle.
see: http://www.stellacadenteentertainment.com/hollyelle/
when I look at the site on firefox it looks fine, but on chrome it does this very odd switch to a box then back to a circle, not good. any ideas on how to make it not do that?
1 Answer
eck
43,038 PointsThe solution is to give the div containing the img a larger z-index than the image inside.
.imgwrap { z-index: 1000 } /* in the inspector this fixed the error for me */
This error can come up with border-radius and transitions on an element with overflow hidden in Chrome.