Im與具有圓角和邊框圖像的div有麻煩。邊框圖像保持正方形,div具有圓角。我需要的是圖像邊框與邊框半徑的圓角一起使用。邊框圖像,邊框半徑
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
border:2px solid;
-moz-border-image: url(neon---horizontal-hotness-wallpapers_18493_1920x12001.jpg) 2 1 2 2 round;
-webkit-border-image: url(neon---horizontal-hotness-wallpapers_18493_1920x12001.jpg) 2 1 2 2 round;
-o-border-image: url(neon---horizontal-hotness-wallpapers_18493_1920x12001.jpg) 2 1 2 2 round;
border-image: url(neon---horizontal-hotness-wallpapers_18493_1920x12001.jpg) 2 1 2 2 round;
width:100%;
這不是一個官方的bug.The W3C CSS背景和邊框模塊級別3 CR測試套件(測試用例[005](https://test.csswg.org/harness/test/css -backgrounds-3_dev/spec/css-backgrounds-3/section/6.3/border-image-width-005 /),[006](https://test.csswg.org/harness/test/css-backgrounds-3_dev /spec/css-backgrounds-3/section/6.3/border-image-width-006/)和[007](https://test.csswg.org/harness/test/css-backgrounds-3_dev/spec/ css-backgrounds-3/section/6.3/border-image-width-007 /),即使使用border-style:none; border-width:0也應該使用border-image。 –