The top left corner has a “callout” div in which the top left corner is extending outside the boundary of the parent element. I want to clip the boundary so that the parent element’s rounded corner shows through.
I’ve tried adding overflow:hidden to the parent container element, but it does not seem to want to work.
Hi Ralph, the callout is the text block inside the slider. On the first slide, it begins with the h2 “ClickBump 6”. There is a div container holding that with class=“callout”. This is the element which appears to be extending outside the border-radius of the dd parent element.
I’ve since moved the callout over to the right in order to avoid the glitch with the overflow. I believe it may have something to do with the fact that the element is being rotated with transform.
However you would still need to avoid position:relative on any elements that you want to stick out because they won’t get clipped inside the border-radius. Add position:relative to .inner and then it pokes out of the div again in webkit.
Good on you Paul. The position:relative trick is well noted and appears to be what I was missing.
Also, you were spot on with the webkit note (I’m doing dev in chrome with side trips to FF and IE for spot checks). The issue only appears in Webkit as best I can tell (haven’t yet tested in Opera)