根据父元素 的位置 写了个 差不多的样式
.divright{
position:absolute;
color:red;
z-index: 99;
font-size: 1.2em;
background-color: black;
width: 1em;
height: 1em;
left : 80%;
top : -12px;
text-align: center;
-webkit-border-radius: 2.75em;
border-radius: 2.75em;
}
样式大概就是这样,自己也可以根据自己的div去修改。OK