框箭头顶部边框半径

时间:2019-03-06 07:20:12

标签: html css html5 css3

我想在箭头的顶部给出边框半径。按照给定的附件图像。enter image description here

js小提琴链接here

let me know

1 个答案:

答案 0 :(得分:0)

https://jsfiddle.net/f6gqkodm/

选中此链接,我已经更新了 .block-minicart:before 样式,可以满足您的需求

.minicart-wrapper .ui-dialog .block-minicart:before {
    top: -9px;
    right: 25px;
    border: 1px solid;
    border-color: #c1c1c1 #ffffff #ffffff #c1c1c1;
    z-index: 1;
    width: 17px;
    height: 17px;
    border-radius: 5px;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    background: white;
}

enter image description here