2015/07/06  CSS 

吹き出しを簡単に作ってくれるジェネレーターのご紹介です。CssArrowPleaseは色やサイズ、吹き出しの位置など指定すれば簡単に作れて便利なのでおすすめです。

CssArrowPlease

cssarrowplease

吹き出しサンプル例

padding、margin、角丸などは修正しました。

左吹き出し

こんな吹き出しがコピペで簡単に作れます♪
.arrow_box_left {
	position: relative;
	background: #fff;
	border: 4px solid #333;
	padding:2em 1.5em;
	border-radius:5px;
	margin:2em;
}
.arrow_box_left:after, .arrow_box_left:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_left:after {
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #fff;
	border-width: 10px;
	margin-top: -10px;
}
.arrow_box_left:before {
	border-color: rgba(51, 51, 51, 0);
	border-right-color: #333;
	border-width: 16px;
	margin-top: -16px;
}

右吹き出し

こんな吹き出しがコピペで簡単に作れます♪
.arrow_box_right {
	position: relative;
	background: #fff;
	border: 4px solid #333;
	padding:2em 1.5em;
	border-radius:5px;
	margin:2em;
}
.arrow_box_right:after, .arrow_box_right:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.arrow_box_right:after {
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #fff;
	border-width: 10px;
	margin-top: -10px;
}
.arrow_box_right:before {
	border-color: rgba(51, 51, 51, 0);
	border-left-color: #333;
	border-width: 16px;
	margin-top: -16px;
}

上吹き出し

こんな吹き出しがコピペで簡単に作れます♪
.arrow_box_top {
	position: relative;
	background: #fff;
	border: 4px solid #333;
	padding:2em 1.5em;
	border-radius:5px;
	margin:2em;
}
.arrow_box_top:after, .arrow_box_top:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_top:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 10px;
	margin-left: -10px;
}
.arrow_box_top:before {
	border-color: rgba(51, 51, 51, 0);
	border-bottom-color: #333;
	border-width: 16px;
	margin-left: -16px;
}

下吹き出し

こんな吹き出しがコピペで簡単に作れます♪
.arrow_box_bottom {
	position: relative;
	background: #fff;
	border: 4px solid #333;
	padding:2em 1.5em;
	border-radius:5px;
	margin:2em;
}
.arrow_box_bottom:after, .arrow_box_bottom:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.arrow_box_bottom:after {
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #fff;
	border-width: 10px;
	margin-top: -10px;
}
.arrow_box_bottom:before {
	border-color: rgba(51, 51, 51, 0);
	border-left-color: #333;
	border-width: 16px;
	margin-top: -16px;
}