Линия по середине текста 2

<p class="h4"><span>Этапы продвижения сайта</span></p>
.h4{
	text-transform: uppercase;
	position: relative;
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #505050;
	font-family: 'Open sans';
	font-weight: 300;
	line-height: 1.1;
	text-align: center;
}
p.h4 span {
	background-color: #f0f0f0; /* Делаем цвет фона */
	padding: 0 15px;
	position: relative;
	z-index: 99;
}
p.h4::after {
	content: "";
	position: absolute;
	height: 2px;
	width: 100%;
	background-color: #666;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -1px;
	z-index: 2;
}

ИТОГ:

Этапы продвижения сайта