I have a simple modal, which opens up upon :checked input. In Firefox and IE the transition animation works fine, but in Chrome it glitches (effect not smooth) when it shows up upon checking the input.
Demo fiddle: JsFiddle
When i remove visibility: hidden
it works fine, but then the modal blocks the rest of the page under neath it - no text can be selected, no buttons clicked etc.
Any ideas on how to make the transition smooth in Chrome?