我对CSS 3有一点问题,即我会用一个项目创建这样一个对象.这是我想要实现的目标的图像:

这就是我的意思:
CSS:
body{
background:grey;
padding:10px;
}
#talkbubble {
margin:0 auto;
box-shadow: 3px 10px 7px #deefe5;
width: 590px;
height: 160px;
background: white;
position: relative;
border-radius:10px;
border-bottom-left-radius:0px;
}
#talkbubble:before {
box-shadow: 10px 10px 5px #deefe5;
content:"";
position: absolute;
background:white;
top: 100%;
width: 228px;
height: 62px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
#talkbubble:after{
content:"";
position: absolute;
top:100%;
left:228px;
border-top: 10px solid white;
border-right: 10px solid transparent;
background:white;
}?
Run Code Online (Sandbox Code Playgroud)
HTML:
<div id="talkbubble"></div>?
Run Code Online (Sandbox Code Playgroud)
还有一个jsFiddle演示
如何完成两个部分之间的角度?
简短的回答:你不能。
您所做的工作已成功创建了一个框:在DIV 元素之后,但如果您开始在 DIV 中输入文本,它不会“流入”底部。
为了实现你在 CSS3 中的目标,你至少需要 3 个 DIV 和透明效果,而且你仍然会遇到文本溢出的问题。