I have here very simple code that shows a glitch in which there is a bit of white space where there shouldnt be, in the corner of the border radius. I simply have a colored div behined a button with overflow hidden. In chrome it's very bad when you zoom in and out you can see a lot of whitespace in the whole border where the overflow hidden is active. [click to see chrome screenshot] In firefox it is better but there is still white space in the corner where there shouldnt be. [click to see firefox screenshot] I couldn't figure out any fixes around this and it is very ugly, pls help! thx
<style>
button {
border: 10px solid purple;
border-radius: 30px;
height:300px;
width:300px;
overflow: hidden;
position: relative;
}
div {
background: purple;
position: absolute;
height: 400px;
width: 400px;
}
</style>
<body>
<button><div></div></button>
</body>