<div class="grandparent">
	font-size: 13px
	<div class="parent">
		font-size: 26px
		<div class="child">font-size: 50%
	</div>
</div>
.grandparent {
	position: relative;
	background: #eaeaea;
	width: 200px;
	height: 200px;

	font-size: 13px;
}

.parent {
	// position: relative;
	background: #aaa;
	width: 100px;
	height: 100px;

	font-size: 26px;
}

.child {
	position: absolute;
	background: red;
	color: #fff;
	width: 50%;
	height: 50%;
	top: 25%;
	left: 25%;

	font-size: 50%;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.