I have this bootstrap 4 grid with a row having a height of 200px, and two columns:
<div class="row" style="height:200px;background-color:grey">
<div class="col-md-10">
<span>How to center this vertically/horizontally</span>
</div>
<div class="col-md-2">
<span>This too</span>
</div>
</div>
I'm not sure how I can center the text in both columns both vertically and horizontally.
Here is a fiddle: http://jsfiddle.net/x1hphsvb/31/
I have looked at similar question/answers on stackoverflow, but I couldn't find an answer that actually worked in my case.
So how to do this?