Hello everyone. I can’t figure something out with this code: https://codepen.io/bahadrm/pen/zwKVpG
When I delete the “overflow: hidden;” line from the css, background color of the div disappears. I tried to learn more about the behavior of overflow property but things I found didn’t cover this particular example. I can use the code as it is, but I really want to understand what I am missing. Can someone explain this?
Thanks in advance.