<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>对话框</title>
	<style>
		
			margin-left:30px;
			padding:10px;
			background: red;
			position: relative;
			display: inline-block;
			-moz-border-radius: 10px;
			-webkit-border-radius: 10px;
			border-radius: 10px;color:
			}
		
		  content:"";
		  position: absolute;
		  right: 100%;
		  top:10px;
		  width: 0;
		  height: 0;
		  border-top: 8px solid transparent;
		  border-right: 16px solid red;
		  border-bottom: 8px solid transparent;
		}
		
			color:
			font-size: 20px;
			background-color: red;
			padding:10px;
			position: relative;
			display: inline-block;
			margin-top: 10px;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			margin-left:30px;
			border-radius: 5px;
		}
		
			content:'';
			position:absolute;
			right:100%;
			top:0px;
			width:16px;
			height:16px;
			border-width:0;
			border-style:solid;
			border-color:transparent;
			border-bottom-width:10px;
			border-bottom-color:currentColor;
			border-radius:0 0 0 32px;
			color:red;
		}
	</style>
</head>
<body>
	<div id="talkbubble">hello</div>
	<div id="chat_content">hello</div>
</body>
</html>