Hi, I do not fully understand "overflow: hidden" behavior, but here is a solution (a very long one though) which doesn't make use of overflow:
<div id=rectangle> <div id=circle /> </div>
* { margin:0; background:#6592cf; } #rectangle { width:300; height:150; background:#243d83; margin:75 auto } #circle { width:50; height:50; background:#eeb850; border-radius:50px; box-shadow: 0 0 0 50px #243d83, 0 0 0 100px #6592cf; margin:0 auto; position:relative; top:50; }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, I do not fully understand "overflow: hidden" behavior, but here is a solution (a very long one though) which doesn't make use of overflow: