Box-shadow and border-radius bug in Chrome

后端 未结 9 1674
盖世英雄少女心
盖世英雄少女心 2020-12-13 09:46

I\'ve been experimenting with CSS3 and found something strange. Heres\'s the part of DIV style:

border:#446429 solid 1px;
border-radius:15px;
-moz-border-rad         


        
9条回答
  •  庸人自扰
    2020-12-13 10:32

    I just found fix, but it needs additional markup. We need place element with round corners and inner shadow into another container with the same round corners and overflow hidden.

    Hello!

    Announced above fix with border crashes border radius and is incompartible with background image under element (because of border color).

    Thanks.

提交回复
热议问题