I'm doing a bit of CSS on cssbattle.dev, and I'm using the box-shadow property
I know very well that a box-shadow is supposed to follow the border-radius of its element. It did work really well the last time I did it but now it's absolutely broken on Brave and Chrome, through it's still working on Firefox for example.
I'm looking for both an explanation and a solution
<div id="a"><div id="b"></div></div>
<style>
body {
margin: 0;
height: 100%;
display: grid;
place-items: center;
background: #0B2429
}
#a {
width: 200px;
height: 200px;
transform: rotate(45deg);
border-radius: 50% 0 50%;
background: #998235;
display: grid;
place-items: center;
}
#b {
width: 50px;
height: 50px;
background: #0B2429;
border-radius: 100%;
box-shadow: 0 0 0 45px #F3AC3C, 0 0 0 65px #0B2429;
}
</style>
Here is the code, and here is what I want to do https://cssbattle.dev/play/16