我想在媒体查询中移动一个h1元素和一个h2元素。在大屏幕上,如我所知,知道元素彼此相邻,但是当他在电话上时,我希望元素彼此堆叠。请帮忙!! ps。我使用引导程序
<div class=" startpage-text mx-auto text-center d-flex just justify-content-center ">
<h1 class="name m-5 p-2 align-items-center col-sm text-center text-light ">Philip Lagergren Ydehed</h1>
<h2 class="m-4 align-items-center col-sm text-center text-light info">Studerande inom webbutveckling fullstack på
Nackademin</h2>
</div>