Let's consider having 3 elements like this:
<h1>Hello</h1>
<p>hello</p>
<h1>Hello</h1>
I am looking to remove the second <h1>
as I only want it to appear once on the page. However, I would like to have flexibility in changing the position of the <h1>
. On mobile view, it should be displayed below the <p>
and on desktop above. I am aware that this can be achieved with bootstrap/display:none;, but I prefer to adjust the position of a single <h1>
based on the scaling of the pages.
Thank you very much for your assistance!