4 ms·
What would you do with this case then? .outer {height: 1200px; width: 800px;} .inner {margin: auto;} <div class="outer"> <p class="inner">This is ce
by jessedhillon 13y ago
What would you do with this case then?
.outer {height: 1200px; width: 800px;}
.inner {margin: auto;}
<div class="outer">
<p class="inner">This is centered vertically</p>
<p>But where should this go?</p>
</div>
And what if both p elements had the `inner` class?