@charset "UTF-8";

body {
	font-size: 16px;
	line-height: 1.5em;
	padding: 10px;
}

#target,
#insert,
#child {
	margin-bottom: 10px;
	position: relative;
	overflow: hidden;
	list-style-type: none;
}

#target::before,
#insert::before,
#child::before {
	display: block;
	padding: 0 0.8em;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
}

#target::after,
#insert::after,
#child::after {
	display: block;
	content: "";
	clear: both;
}

#target {
	padding: 2.3em .7em .4em;
	border: 1px solid #5A5;
}
#target::before {
	content: "target";
	background-color: #5A5;
}

#insert {
	height: 1.5em;
	padding-left: 3.5em;
	border: 1px solid #A40;
}
#insert::before {
	content: "div";
	background-color: #A40;
}

#child{
	height: 1.5em;
	border: 1px solid #04A;
}
#child::before {
	content: "child";
	background-color: #04A;
}

button {
	width: 7em;
}