CSS3 border-radius clipping issues

后端 未结 4 1828
执笔经年
执笔经年 2020-11-29 08:26

I have a div with border-radius set to some value (let\'s say 10px), and a nested div that is the full width and height of its parent.


&l         


        
4条回答
  •  有刺的猬
    2020-11-29 08:59

    If you remove position: relative; on both elements the outer element clip the child around the rounded corners. Not sure why, and if it is a bug.

提交回复
热议问题