我创造了一些东西。可能有更好的解决方案,但也许有帮助。
jsFiddle
CSS:
.bubble {
width: 200px;
height: 30px;
}
.bubble .content {
background: #00f;
height: 100%;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
margin-right: 20px;
}
.bubble .blue,
.bubble .white,
.bubble .white .innerwhite {
width: 10px;
height: 100%;
float: right;
}
.bubble .blue {
background: #00f;
border-top-right-radius: 10px;
}
.bubble .white {
background: #00f;
}
.bubble .white .innerwhite {
background: #fff;
border-bottom-left-radius: 10px;
}
HTML:
<div class="bubble">
<div class="white">
<div class="innerwhite"></div>
</div>
<div class="blue"></div>
<div class="content"></div>
</div>
请参考这个做圆角边框[点击这里](http://www.css3.info/preview/rounded-border/) – snowp 2013-02-13 10:22:57
谢谢,但据我所知,没有什么可以让我靠近在我的形象中的形状。 – mikel 2013-02-13 10:26:21
这不是关于圆形边界的问题。 – Morpheus 2013-02-13 10:32:07