@coi1751

Необходимо выравнять заголовок по вертикали по центру. Бутстрап?

Есть заголовок слева и два параграфа справа, вод код секции:
<section id="our_history">
		<div class="container">
			<div class="row">
				<div class="col">
					<h2 class="history d-flex justify-content-center">
						our<br>interesting<br> history
					</h2>
				</div>
				<div class="col">
					<p class="p_history d-flex justify-content-end">
						Science in the media always seems to be very one-sided. News media chasing sensations and much has been written about the research, "British scientists" and the low probability, but high-profile discoveries, which may take place in the future, not only paying attention to really important things. In addition, the Internet, magazines and television are often held discussions on the "loud" threads of pseudo invited - and it seems that many of the important questions in modern science 
					</p>
					<p class="p_history_second d-flex justify-content-end">
						Science in the media always seems to be very one-sided. News media chasing sensations and much has been written about the research, "British scientists" and the low probability, but high-profile discoveries, which may take place in the future, not only paying attention to really important things. In addition, the Internet, magazines and television are often held discussions on the "loud" threads of pseudo invited - and it seems that many of the important questions in modern science 
					</p>
				</div>
			</div>
		</div>
	</section>

вот css код секции:
#our_history {
	border-bottom: 1px solid #f1f1f1;
	padding: 100px 0;
}

.history {
	align-items: center;
	font-size: 48px;
	line-height: 60px;
	font-weight: 700;
	text-transform: uppercase;
	color: #464646;
	margin: 0;

}
.p_history {
	margin-bottom: 50px;
}


Суть в том, что align-items: center, не работает, я зашел в режим разработчика и увидел это... (на скрине)
ab420b2cd6ec4e30b7f1cbd7341b08b6.png
Помогите)) Я запарился с этим конкретно))
  • Вопрос задан
  • 586 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы